class FilesystemLoader extends FilesystemLoader

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

Methods

__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser, string $rootPath = null)

No description

exists($name)

{@inheritdoc}

Details

at line line 34
__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser, string $rootPath = null)

Parameters

FileLocatorInterface $locator
TemplateNameParserInterface $parser
string $rootPath

at line line 47
exists($name)

{@inheritdoc}

The name parameter might also be a TemplateReferenceInterface.

Parameters

$name