ConfigCache
class ConfigCache extends ResourceCheckerConfigCache
ConfigCache caches arbitrary content in files on disk.
When in debug mode, those metadata resources that implement \Symfony\Component\Config\Resource\SelfCheckingResourceInterface will be used to check cache freshness.
Methods
__construct(string $file, bool $debug)
No description
bool
isFresh()
Checks if the cache is still fresh.
Details
at line line 34
__construct(string $file, bool $debug)
in ResourceCheckerConfigCache at line line 49
string
getPath()
Gets the cache file path.
at line line 50
bool
isFresh()
Checks if the cache is still fresh.
This implementation always returns true when debug is off and the cache file exists.
in ResourceCheckerConfigCache at line line 109
write(string $content, array $metadata = null)
Writes cache.