Spec-Zone.ru › Symfony 4.0

TemplateManager

class TemplateManager

Менеджер шаблонов профилирования.

Методы

__construct(Profiler $profiler, Environment $twig, array $templates)
mixed getName(Profile $profile, string $panel)

Получает имя шаблона для заданного модуля.

array getNames(Profile $profile)

Получает имена шаблонов, присутствующих в просматриваемом профиле.

Подробности

__construct(Profiler $profiler, Environment $twig, array $templates)

Параметры

Profiler $profiler
Environment $twig
array $templates

mixed getName(Profile $profile, string $panel)

Получает имя шаблона для заданного модуля.

Параметры

Profile $profile
string $panel

Возвращаемое значение

mixed

Исключения

NotFoundHttpException

array getNames(Profile $profile)

Получает имена шаблонов, присутствующих в просматриваемом профиле.

Параметры

Profile $profile

Возвращаемое значение

array

Исключения

UnexpectedValueException

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/4.0/Symfony/Bundle/WebProfilerBundle/Profiler/TemplateManager.html

Spec-Zone.ru

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