ResourceCheckerConfigCacheFactory

class ResourceCheckerConfigCacheFactory implements ConfigCacheFactoryInterface

A ConfigCacheFactory implementation that validates the cache with an arbitrary set of ResourceCheckers.

Methods

__construct(array $resourceCheckers = array())
ConfigCacheInterface cache(string $file, $callback)

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

Details

__construct(array $resourceCheckers = array())

Parameters

array $resourceCheckers

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 $configCache The cache instance
doc_Symfony
2016-10-28 06:30:14
Comments
Leave a Comment

Please login to continue.