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)

No description

bool
isOptional()

This cache warmer is not optional, without proxies fatal error occurs!

warmUp(string $cacheDir)

Warms up the cache.

Details

at line 29
__construct(ManagerRegistry $registry)

Parameters

ManagerRegistry $registry

at line 39
bool isOptional()

This cache warmer is not optional, without proxies fatal error occurs!

Return Value

bool true if the warmer is optional, false otherwise

at line 47
warmUp(string $cacheDir)

Warms up the cache.

Parameters

string $cacheDir The cache directory