ProxyCacheWarmer
in package
implements
CacheWarmerInterface
The proxy generator cache warmer generates all entity proxies.
In the process of generating proxies the cache for all the metadata is primed also, since this information is necessary to build the proxies in the first place.
Tags
Interfaces, Classes, Traits and Enums
- CacheWarmerInterface
- Interface for classes able to warm up the cache.
Table of Contents
- $registry : mixed
- __construct() : mixed
- isOptional() : false
- This cache warmer is not optional, without proxies fatal error occurs!
- warmUp() : mixed
- {@inheritdoc}
Properties
$registry
private
mixed
$registry
Methods
__construct()
public
__construct(ManagerRegistry $registry) : mixed
Parameters
- $registry : ManagerRegistry
Return values
mixed —isOptional()
This cache warmer is not optional, without proxies fatal error occurs!
public
isOptional() : false
Return values
false —warmUp()
{@inheritdoc}
public
warmUp(mixed $cacheDir) : mixed
Parameters
- $cacheDir : mixed