Constructor.
public __construct ( Symfony\Component\Config\FileLocatorInterface $locator, Symfony\Component\Templating\TemplateNameParserInterface $parser, string | null $rootPath = null ) | ||
$locator | Symfony\Component\Config\FileLocatorInterface | A FileLocatorInterface instance |
$parser | Symfony\Component\Templating\TemplateNameParserInterface | A TemplateNameParserInterface instance |
$rootPath | string | null | The root path common to all relative paths (null for getcwd()) |