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