PHP Class Symfony\Bundle\FrameworkBundle\CacheWarmer\AnnotationsCacheWarmer

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

Méthodes publiques

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

Private Methods

Méthode Description
readAllComponents ( Doctrine\Common\Annotations\Reader $reader, $class )

Method Details

__construct() public méthode

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 méthode

public isOptional ( )

warmUp() public méthode

public warmUp ( $cacheDir )