Total Complexity | 3 |
Total Lines | 39 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
14 | class NestedNavigationExtension extends \Twig_Extension |
||
15 | { |
||
16 | /** @var ItemHelper */ |
||
17 | private $helper; |
||
18 | /** @var NestedNavigationHelper */ |
||
19 | private $navigationHelper; |
||
20 | |||
21 | public function __construct(ItemHelper $helper, NestedNavigationHelper $navigationHelper) |
||
22 | { |
||
23 | $this->helper = $helper; |
||
24 | $this->navigationHelper = $navigationHelper; |
||
25 | } |
||
26 | |||
27 | /** |
||
28 | * {@inheritdoc} |
||
29 | */ |
||
30 | public function renderAdvancedNavigation( |
||
42 | ] |
||
43 | ); |
||
44 | } |
||
45 | |||
46 | public function getFunctions() |
||
53 | ), |
||
54 | ]; |
||
57 |