proxies on disk');
}
$this->proxyDirectory = $proxyDirectory;
return $this;
}
/**
* If PHP-DI's container is wrapped by another container, we can
* set this so that PHP-DI will use the wrapper rather than itself for building objects.
*
* @return $this
*/
public function wrapContainer(ContainerInterface $otherContainer) : self
{
$this->ensureNotLocked();
$this->wrapperContainer = $otherContainer;
return $this;
}
/**
* Add definitions to the container.
*
* @param string|array|DefinitionSource ...$definitions Can be an array of definitions, the
* name of a file containing definitions
* or a DefinitionSource object.
* @return $this
*/
public function addDefinitions(...$definitions) : self
{
$this->ensureNotLocked();
foreach ($definitions as $definition) {
if (!\is_string($definition) && !\is_array($definition) && !$definition instanceof DefinitionSource) {
throw new InvalidArgumentException(\sprintf('%s parameter must be a string, an array or a DefinitionSource object, %s given', 'ContainerBuilder::addDefinitions()', \is_object($definition) ? \get_class($definition) : \gettype($definition)));
}
$this->definitionSources[] = $definition;
}
return $this;
}
/**
* Enables the use of APCu to cache definitions.
*
* You must have APCu enabled to use it.
*
* Before using this feature, you should try these steps first:
* - enable compilation if not already done (see `enableCompilation()`)
* - if you use autowiring or annotations, add all the classes you are using into your configuration so that
* PHP-DI knows about them and compiles them
* Once this is done, you can try to optimize performances further with APCu. It can also be useful if you use
* `Container::make()` instead of `get()` (`make()` calls cannot be compiled so they are not optimized).
*
* Remember to clear APCu on each deploy else your application will have a stale cache. Do not enable the cache
* in development environment: any change you will make to the code will be ignored because of the cache.
*
* @see https://php-di.org/doc/performances.html
*
* @param string $cacheNamespace use unique namespace per container when sharing a single APC memory pool to prevent cache collisions
* @return $this
*/
public function enableDefinitionCache(string $cacheNamespace = '') : self
{
$this->ensureNotLocked();
$this->sourceCache = \true;
$this->sourceCacheNamespace = $cacheNamespace;
return $this;
}
/**
* Are we building a compiled container?
*/
public function isCompilationEnabled() : bool
{
return (bool) $this->compileToDirectory;
}
private function ensureNotLocked()
{
if ($this->locked) {
throw new \LogicException('The ContainerBuilder cannot be modified after the container has been built');
}
}
}
Fatal error: Uncaught Error: Class 'SmashBalloon\Reviews\Vendor\DI\ContainerBuilder' not found in /var/www/html/cronicasdorock.com.br/web/wp-content/plugins/reviews-feed/vendor/smashballoon/customizer/app/V2/Container.php:15
Stack trace:
#0 /var/www/html/cronicasdorock.com.br/web/wp-content/plugins/reviews-feed/bootstrap.php(140): Smashballoon\Customizer\V2\Container::getInstance()
#1 /var/www/html/cronicasdorock.com.br/web/wp-content/plugins/reviews-feed/sb-reviews.php(43): require_once('/var/www/html/c...')
#2 /var/www/html/cronicasdorock.com.br/web/wp-settings.php(526): include_once('/var/www/html/c...')
#3 /var/www/html/cronicasdorock.com.br/web/wp-config.php(104): require_once('/var/www/html/c...')
#4 /var/www/html/cronicasdorock.com.br/web/wp-load.php(50): require_once('/var/www/html/c...')
#5 /var/www/html/cronicasdorock.com.br/web/wp-blog-header.php(13): require_once('/var/www/html/c...')
#6 /var/www/html/cronicasdorock.com.br/web/index.php(17): require('/var/www/html/c...')
#7 {main}
thrown in /var/www/html/cronicasdorock.com.br/web/wp-content/plugins/reviews-feed/vendor/smashballoon/customizer/app/V2/Container.php on line 15