class ProxyCacheWarmer 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.
Methods
|
__construct(ManagerRegistry $registry)
Constructor. |
||
| false |
isOptional()
Checks whether this warmer is optional or not. |
|
|
warmUp(string $cacheDir)
Warms up the cache. |
Details
at line 34
public
__construct(ManagerRegistry $registry)
Constructor.
at line 44
public false
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.
at line 52
public
warmUp(string $cacheDir)
Warms up the cache.