Symfony\Component\Config\ConfigCache
ConfigCache manages PHP cache files.
When debug is enabled, it knows when to flush the cache
thanks to an array of ResourceInterface instances.
- Author: Fabien Potencier <fabien@symfony.com>
Synopsis
class ConfigCache
{
- // methods
- public void __construct()
- public string __toString()
- public Boolean isFresh()
- public void write()
- private string getMetaFile()
Members
private
- $debug
- $file
Methods
private
- getMetaFile() — Gets the meta file path.
public
- __construct() — Constructor.
- __toString() — Gets the cache file path.
- isFresh() — Checks if the cache is still fresh.
- write() — Writes cache.