class TemplatePathsCacheWarmer extends CacheWarmer
Computes the association between template names and their paths on the disk.
protected | $finder | ||
protected | $locator |
writeCacheFile($file, $content) | from CacheWarmer | |
__construct(TemplateFinderInterface $finder, TemplateLocator $locator) | ||
warmUp(string $cacheDir) Warms up the cache. | ||
bool | isOptional() Checks whether this warmer is optional or not. |
$file | ||
$content |
TemplateFinderInterface | $finder | |
TemplateLocator | $locator |
Warms up the cache.
string | $cacheDir | The cache directory |
Checks whether this warmer is optional or not.
bool | true if the warmer is optional, false otherwise |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplatePathsCacheWarmer.html