Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer
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.
- Author: Benjamin Eberlei <kontakt@beberlei.de>
Synopsis
class ProxyCacheWarmer
implements
CacheWarmerInterface
{
- // members
- private $registry;
- // methods
- public void __construct()
- public false isOptional()
- public void warmUp()
Hierarchy
Members
private
- $registry
Methods
public
- __construct() — Constructor.
- isOptional() — This cache warmer is not optional, without proxies fatal error occurs!
- warmUp() — {@inheritdoc}