ConfigCache
extends ConfigCache
in package
Specialized class to cache the built configuration.
It extends Symfony\Component\Config\ConfigCache
class.
Tags
Table of Contents
Properties
- $builderSerial : string
- $serialFile : string
Methods
- __construct() : mixed
- isFresh() : bool
- Check if the cache is fresh.
- write() : void
- Write the data into the cache.
Properties
$builderSerial
private
string
$builderSerial
$serialFile
private
string
$serialFile
Methods
__construct()
public
__construct(string $file, bool $debug, ConfigurationBuilder $builder) : mixed
Parameters
- $file : string
-
The cache file.
- $debug : bool
-
start/stop debug environment.
- $builder : ConfigurationBuilder
-
The object to save in cache.
isFresh()
Check if the cache is fresh.
public
isFresh() : bool
Return values
boolwrite()
Write the data into the cache.
public
write(mixed $content[, mixed $metadata = null ]) : void
Parameters
- $content : mixed
-
The content to write in cache.
- $metadata : mixed = null
-
An optional array of metadata.