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)

No description

cache(string $file, $callback)

Creates a cache instance and (re-)initializes it if necessary.

Details

at line 30
__construct(bool $debug)

Parameters

bool $debug The debug flag to pass to ConfigCache

at line 38
ConfigCacheInterface cache(string $file, $callback)

Creates a cache instance and (re-)initializes it if necessary.

Parameters

string $file The absolute cache file path
$callback

Return Value

ConfigCacheInterface The cache instance