ConfigCacheFactory
ConfigCacheFactory
class ConfigCacheFactory implements ConfigCacheFactoryInterface
Basic implementation of ConfigCacheFactoryInterface that creates an instance of the default ConfigCache.
This factory and/or cache do not support cache validation by means of ResourceChecker instances (that is, service-based).
Methods
__construct(bool $debug) | ||
ConfigCacheInterface | cache(string $file, $callback) Creates a cache instance and (re-)initializes it if necessary. |
Details
__construct(bool $debug)
ConfigCacheInterface cache(string $file, $callback)
Creates a cache instance and (re-)initializes it if necessary.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Component/Config/ConfigCacheFactory.html