TemplateManager
class TemplateManager
Profiler Templates Manager.
Methods
| __construct(Profiler $profiler, Environment $twig, array $templates) | |
mixed | getName(Profile $profile, string $panel) Gets the template name for a given panel. | |
array | getNames(Profile $profile) Gets template names of templates that are present in the viewed profile. | |
Details
__construct(Profiler $profiler, Environment $twig, array $templates)
Parameters
Profiler | $profiler | |
Environment | $twig | |
array | $templates | |
mixed
getName(Profile $profile, string $panel)
Gets the template name for a given panel.
Parameters
Return Value
Exceptions
array
getNames(Profile $profile)
Gets template names of templates that are present in the viewed profile.
Parameters
Return Value
Exceptions