Loader\FilesystemLoader (Bundle\TwigBundle)
Symfony\Bundle\TwigBundle\Loader\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
public __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser)
Constructor.
public exists($name)
{@inheritdoc}
The name parameter might also be a TemplateReferenceInterface.
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.html