Spec-Zone.ru › Symfony 3.4

FilesystemLoader

class FilesystemLoader extends FilesystemLoader

FilesystemLoader расширяет стандартный загрузчик файлов Twig, чтобы работать с путями Symfony и ссылками на шаблоны.

Методы

__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser, $rootPath = null)
exists($name)

{@inheritdoc}

Подробности

__construct(FileLocatorInterface $locator, TemplateNameParserInterface $parser, $rootPath = null)

Параметры

FileLocatorInterface $locator
TemplateNameParserInterface $parser
$rootPath

exists($name)

{@inheritdoc}

Параметр $name может также быть объектом TemplateReferenceInterface.

Параметры

$name

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.3/Symfony/Bundle/TwigBundle/Loader/FilesystemLoader.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API