PHP Class Symfony\Bundle\FrameworkBundle\CacheWarmer\AnnotationsCacheWarmer

Author: Titouan Galopin ([email protected])
Inheritance: implements Symfony\Component\HttpKernel\CacheWarmer\CacheWarmerInterface
Show file Open project: symfony/symfony

Public Methods

Method Description
__construct ( Doctrine\Common\Annotations\Reader $annotationReader, string $phpArrayFile, Psr\Cache\CacheItemPoolInterface $fallbackPool )
isOptional ( )
warmUp ( $cacheDir )

Private Methods

Method Description
readAllComponents ( Doctrine\Common\Annotations\Reader $reader, $class )

Method Details

__construct() public method

public __construct ( Doctrine\Common\Annotations\Reader $annotationReader, string $phpArrayFile, Psr\Cache\CacheItemPoolInterface $fallbackPool )
$annotationReader Doctrine\Common\Annotations\Reader
$phpArrayFile string The PHP file where annotations are cached.
$fallbackPool Psr\Cache\CacheItemPoolInterface The pool where runtime-discovered annotations are cached.

isOptional() public method

public isOptional ( )

warmUp() public method

public warmUp ( $cacheDir )