Symfony\Bundle\FrameworkBundle\CacheWarmer\TemplateFinder
Finds all the templates.
- Author: Victor Berchet <victor@suumit.com>
Synopsis
class TemplateFinder
implements
TemplateFinderInterface
{
- // members
- private $kernel;
- private $parser;
- private $rootDir;
- private $templates;
- // methods
- public void __construct()
- public array findAllTemplates()
- private array findTemplatesInFolder()
- private array findTemplatesInBundle()
Hierarchy
Members
private
- $kernel
- $parser
- $rootDir
- $templates
Methods
private
- findTemplatesInBundle() — Find templates in the given bundle.
- findTemplatesInFolder() — Find templates in the given directory.
public
- __construct() — Constructor.
- findAllTemplates() — Find all the templates in the bundle and in the kernel Resources folder.