TemplateFinder
TemplateFinder
class TemplateFinder implements TemplateFinderInterface
Finds all the templates.
Methods
__construct(KernelInterface $kernel, TemplateNameParserInterface $parser, string $rootDir) Constructor. | ||
array | findAllTemplates() Find all the templates in the bundle and in the kernel Resources folder. |
Details
__construct(KernelInterface $kernel, TemplateNameParserInterface $parser, string $rootDir)
Constructor.
array findAllTemplates()
Find all the templates in the bundle and in the kernel Resources folder.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.1/Symfony/Bundle/FrameworkBundle/CacheWarmer/TemplateFinder.html