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.
__construct(ManagerRegistry $registry) | ||
bool | isOptional() This cache warmer is not optional, without proxies fatal error occurs! | |
warmUp(string $cacheDir) Warms up the cache. |
ManagerRegistry | $registry |
This cache warmer is not optional, without proxies fatal error occurs!
bool | true if the warmer is optional, false otherwise |
Warms up the cache.
string | $cacheDir | The cache directory |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bridge/Doctrine/CacheWarmer/ProxyCacheWarmer.html