PHP Class Symfony\Bundle\FrameworkBundle\CacheWarmer\ValidatorCacheWarmer

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

Public Methods

Method Description
__construct ( Symfony\Component\Validator\ValidatorBuilderInterface $validatorBuilder, string $phpArrayFile, Psr\Cache\CacheItemPoolInterface $fallbackPool )
isOptional ( )
warmUp ( $cacheDir )

Private Methods

Method Description
extractSupportedLoaders ( array $loaders ) : XmlFileLoader[] | YamlFileLoader[]

Method Details

__construct() public method

public __construct ( Symfony\Component\Validator\ValidatorBuilderInterface $validatorBuilder, string $phpArrayFile, Psr\Cache\CacheItemPoolInterface $fallbackPool )
$validatorBuilder Symfony\Component\Validator\ValidatorBuilderInterface
$phpArrayFile string The PHP file where metadata are cached.
$fallbackPool Psr\Cache\CacheItemPoolInterface The pool where runtime-discovered metadata are cached.

isOptional() public method

public isOptional ( )

warmUp() public method

public warmUp ( $cacheDir )