ConfigBuilderCacheWarmer
in package
implements
CacheWarmerInterface
Generate all config builders.
Tags
Interfaces, Classes and Traits
- CacheWarmerInterface
- Interface for classes able to warm up the cache.
Table of Contents
- $kernel : mixed
- $logger : mixed
- __construct() : mixed
- isOptional() : bool
- Checks whether this warmer is optional or not.
- warmUp() : array<string|int, string>
- {@inheritdoc}
- dumpExtension() : void
Properties
$kernel
private
mixed
$kernel
$logger
private
mixed
$logger
Methods
__construct()
public
__construct(KernelInterface $kernel[, LoggerInterface|null $logger = null ]) : mixed
Parameters
- $kernel : KernelInterface
- $logger : LoggerInterface|null = null
Return values
mixed —isOptional()
Checks whether this warmer is optional or not.
public
isOptional() : bool
Return values
bool —warmUp()
{@inheritdoc}
public
warmUp(string $cacheDir) : array<string|int, string>
Parameters
- $cacheDir : string
Return values
array<string|int, string> —dumpExtension()
private
dumpExtension(ExtensionInterface $extension, ConfigBuilderGeneratorInterface $generator) : void
Parameters
- $extension : ExtensionInterface
- $generator : ConfigBuilderGeneratorInterface