Symfony2 API
Class

Symfony\Bundle\TwigBundle\Loader\FilesystemLoader

class FilesystemLoader extends Twig_Loader_Filesystem

FilesystemLoader extends the default Twig filesystem loader to work with the Symfony2 paths.

Methods

__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser)

Constructor.

Details

at line 34
public __construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser)

Constructor.

Parameters

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