PHP Class Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer

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 ([email protected])
Inheritance: implements Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
Datei anzeigen Open project: pmjones/php-framework-benchmarks

Public Methods

Method Description
__construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry ) Constructor.
isOptional ( ) : false This cache warmer is not optional, without proxies fatal error occurs!
warmUp ( $cacheDir )

Method Details

__construct() public method

Constructor.
public __construct ( Symfony\Bridge\Doctrine\RegistryInterface $registry )
$registry Symfony\Bridge\Doctrine\RegistryInterface A RegistryInterface instance

isOptional() public method

This cache warmer is not optional, without proxies fatal error occurs!
public isOptional ( ) : false
return false

warmUp() public method

public warmUp ( $cacheDir )