1 | <?php |
||
26 | class BreadcrumbTwigExtension extends AbstractBreadcrumbTwigExtension { |
||
27 | |||
28 | /** |
||
29 | * Service name. |
||
30 | * |
||
31 | * @var string |
||
32 | */ |
||
33 | const SERVICE_NAME = "wbw.bootstrap.twig.extension.component.breadcrumb"; |
||
34 | |||
35 | /** |
||
36 | * Displays a Bootstrap breadcrumbs. |
||
37 | * |
||
38 | * @param array $args The arguments. |
||
39 | * @param NavigationTree $tree The tree. |
||
40 | * @param Request $request The request. |
||
41 | * @return string Returns the Bootstrap breadcrumbs. |
||
42 | */ |
||
43 | public function bootstrapBreadcrumbsFunction(array $args = [], NavigationTree $tree, Request $request): string { |
||
47 | |||
48 | /** |
||
49 | * Get the Twig functions. |
||
50 | * |
||
51 | * @return TwigFunction[] Returns the Twig functions. |
||
52 | */ |
||
53 | public function getFunctions(): array { |
||
59 | } |
||
60 |