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).
__construct(bool $debug) | ||
ConfigCacheInterface | cache(string $file, $callback) Creates a cache instance and (re-)initializes it if necessary. |
bool | $debug | The debug flag to pass to ConfigCache |
Creates a cache instance and (re-)initializes it if necessary.
string | $file | The absolute cache file path |
$callback |
ConfigCacheInterface | $configCache The cache instance |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Config/ConfigCacheFactory.html