class FilesystemLoader extends Twig_Loader_Filesystem

FilesystemLoader extends the default Twig filesystem loader to work with the Symfony paths and template references.

Methods

exists($name)

{@inheritdoc}

Details

at line line 35
__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser)

Constructor.

Parameters

FileLocatorInterface $locator A FileLocatorInterface instance
TemplateNameParserInterface $parser A TemplateNameParserInterface instance

at line line 48
exists($name)

{@inheritdoc}

The name parameter might also be a TemplateReferenceInterface.

Parameters

$name