class
SerializerCacheWarmer extends AbstractPhpFileCacheWarmer
Warms up XML and YAML serializer metadata.
Methods
__construct(array $loaders, string $phpArrayFile)
No description
bool
isOptional()
Checks whether this warmer is optional or not.
warmUp(string $cacheDir)
Warms up the cache.
Details
__construct(array $loaders, string $phpArrayFile)
bool
isOptional()
Checks whether this warmer is optional or not.
Optional warmers can be ignored on certain conditions.
A warmer should return true if the cache can be
generated incrementally and on-demand.
protected
warmUpPhpArrayAdapter(PhpArrayAdapter $phpArrayAdapter, array $values)
protected bool
doWarmUp(string $cacheDir, ArrayAdapter $arrayAdapter)