class FilesystemLoader extends FilesystemLoader
FilesystemLoader extends the default Twig filesystem loader to work with the Symfony paths and template references.
__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser, string $rootPath = null) | ||
exists($name) {@inheritdoc} |
FileLocatorInterface | $locator | |
TemplateNameParserInterface | $parser | |
string | $rootPath |
{@inheritdoc}
The name parameter might also be a TemplateReferenceInterface.
$name |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.html