PHP Class WellCommerce\Bundle\ThemeBundle\CacheWarmer\TemplatePathsCacheWarmer

Inheritance: extends Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplatePathsCacheWarmer
Afficher le fichier Open project: wellcommerce/wellcommerce

Protected Properties

Свойство Type Description
$locator WellCommerce\Bundle\ThemeBundle\Locator\TemplateLocator

Méthodes publiques

Méthode Description
isOptional ( ) : boolean Checks whether this warmer is optional or not.
warmUp ( string $cacheDir ) Warms up the cache.

Méthodes protégées

Méthode Description
locateTemplate ( Symfony\Component\Config\FileLocatorInterface $locator, TemplateReference $template, array &$templates ) Locates and appends template to an array

Method Details

isOptional() public méthode

Checks whether this warmer is optional or not.
public isOptional ( ) : boolean
Résultat boolean always true

locateTemplate() protected méthode

Locates and appends template to an array
protected locateTemplate ( Symfony\Component\Config\FileLocatorInterface $locator, TemplateReference $template, array &$templates )
$locator Symfony\Component\Config\FileLocatorInterface
$template Symfony\Bundle\FrameworkBundle\Templating\TemplateReference
$templates array

warmUp() public méthode

Warms up the cache.
public warmUp ( string $cacheDir )
$cacheDir string The cache directory

Property Details

$locator protected_oe property

protected TemplateLocator,WellCommerce\Bundle\ThemeBundle\Locator $locator
Résultat WellCommerce\Bundle\ThemeBundle\Locator\TemplateLocator