TemplatePathsCacheWarmer

TemplatePathsCacheWarmer

class TemplatePathsCacheWarmer extends CacheWarmer

Computes the association between template names and their paths on the disk.

Methods

__construct(TemplateFinderInterface $finder, TemplateLocator $locator)

Constructor.

warmUp(string $cacheDir)

Warms up the cache.