FilesystemLoader

class FilesystemLoader extends Twig_Loader_Filesystem

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

Methods

__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser)

Constructor.

exists($name)

{@inheritdoc}

Details

__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser)

Constructor.

Parameters

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

exists($name)

{@inheritdoc}

The name parameter might also be a TemplateReferenceInterface.

Parameters

$name
doc_Symfony
2016-10-28 06:16:41
Comments
Leave a Comment

Please login to continue.