TemplateHelper
extends AbstractExtension
in package
FinalYes
Table of Contents
Properties
- $dashboardMenuGenerator : DashboardMenuGenerator
- $urlGenerator : UrlGeneratorInterface
Methods
- __construct() : mixed
- getDashboardMenu() : array<string|int, MenuEntry>
- getFunctions() : mixed
- renderDynamicUrl() : string
- Summary of renderDynamicUrl
Properties
$dashboardMenuGenerator
private
DashboardMenuGenerator
$dashboardMenuGenerator
$urlGenerator
private
UrlGeneratorInterface
$urlGenerator
Methods
__construct()
public
__construct(DashboardMenuGenerator $dashboardMenuGenerator, UrlGeneratorInterface $urlGenerator) : mixed
Parameters
- $dashboardMenuGenerator : DashboardMenuGenerator
- $urlGenerator : UrlGeneratorInterface
getDashboardMenu()
public
getDashboardMenu() : array<string|int, MenuEntry>
Return values
array<string|int, MenuEntry>getFunctions()
public
getFunctions() : mixed
Attributes
- #[Override]
renderDynamicUrl()
Summary of renderDynamicUrl
public
renderDynamicUrl(string $route, object $entity, array<string|int, UrlParameter> $urlParameters) : string
Parameters
- $route : string
- $entity : object
- $urlParameters : array<string|int, UrlParameter>