ConfigCacheFactoryInterface
interface ConfigCacheFactoryInterface
Interface for a ConfigCache factory. This factory creates an instance of ConfigCacheInterface and initializes the cache if necessary.
Methods
| ConfigCacheInterface |  cache(string $file, callable $callable)  Creates a cache instance and (re-)initializes it if necessary.  |  
Details
ConfigCacheInterface cache(string $file, callable $callable)
Creates a cache instance and (re-)initializes it if necessary.
Parameters
| string | $file | The absolute cache file path | 
| callable | $callable | The callable to be executed when the cache needs to be filled (i. e. is not fresh). The cache will be passed as the only parameter to this callback | 
Return Value
| ConfigCacheInterface | $configCache The cache instance | 
    © 2004–2017 Fabien Potencier
Licensed under the MIT License.
    http://api.symfony.com/3.3/Symfony/Component/Config/ConfigCacheFactoryInterface.html