TemplateManager

class TemplateManager

Profiler Templates Manager.

Methods

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

Constructor.

mixed getName(Profile $profile, string $panel)

Gets the template name for a given panel.

array getTemplates(Profile $profile)

Gets the templates for a given profile.

Details

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

Constructor.

Parameters

Profiler $profiler
Twig_Environment $twig
array $templates

mixed getName(Profile $profile, string $panel)

Gets the template name for a given panel.

Parameters

Profile $profile
string $panel

Return Value

mixed

Exceptions

NotFoundHttpException

array getTemplates(Profile $profile)

Gets the templates for a given profile.

Parameters

Profile $profile

Return Value

array
doc_Symfony
2016-10-28 06:34:16
Comments
Leave a Comment

Please login to continue.