CompiledClassMetadataCacheWarmer
in package
implements
CacheWarmerInterface
FinalYes
Tags
Table of Contents
Interfaces
- CacheWarmerInterface
- Interface for classes able to warm up the cache.
Properties
- $classesToCompile : mixed
- $classMetadataFactory : mixed
- $classMetadataFactoryCompiler : mixed
- $filesystem : mixed
Methods
- __construct() : mixed
- isOptional() : bool
- Checks whether this warmer is optional or not.
- warmUp() : array<string|int, mixed>
- {@inheritdoc}
Properties
$classesToCompile
private
mixed
$classesToCompile
$classMetadataFactory
private
mixed
$classMetadataFactory
$classMetadataFactoryCompiler
private
mixed
$classMetadataFactoryCompiler
$filesystem
private
mixed
$filesystem
Methods
__construct()
public
__construct(array<string|int, mixed> $classesToCompile, ClassMetadataFactoryInterface $classMetadataFactory, ClassMetadataFactoryCompiler $classMetadataFactoryCompiler, Filesystem $filesystem) : mixed
Parameters
- $classesToCompile : array<string|int, mixed>
- $classMetadataFactory : ClassMetadataFactoryInterface
- $classMetadataFactoryCompiler : ClassMetadataFactoryCompiler
- $filesystem : Filesystem
isOptional()
Checks whether this warmer is optional or not.
public
isOptional() : bool
Return values
boolwarmUp()
{@inheritdoc}
public
warmUp(string $cacheDir) : array<string|int, mixed>
Parameters
- $cacheDir : string