1 | <?php |
||
18 | class SubMenu extends Link implements HasBuilder |
||
19 | { |
||
20 | /** |
||
21 | * @var Builder |
||
22 | */ |
||
23 | protected $builder; |
||
24 | |||
25 | /** |
||
26 | * SubMenu constructor. |
||
27 | * @param string $title |
||
28 | * @param string $url |
||
29 | * @param Attributes $attributes |
||
30 | * @param Attributes $activeAttributes |
||
31 | * @param Attributes $linkAttributes |
||
32 | * @param string $view |
||
33 | * @param ComparativeUrl $comparativeUrl |
||
34 | * @param MenuRender $render |
||
35 | * @param Builder $builder |
||
36 | */ |
||
37 | 6 | public function __construct($title, $url, Attributes $attributes, Attributes $activeAttributes, |
|
45 | |||
46 | /** |
||
47 | * @inheritDoc |
||
48 | */ |
||
49 | 1 | public function getBuilder() |
|
53 | |||
54 | /** |
||
55 | * @inheritdoc |
||
56 | */ |
||
57 | 6 | public function renderWith() |
|
66 | |||
67 | /** |
||
68 | * @inheritdoc |
||
69 | */ |
||
70 | 6 | public function render($view = null) |
|
76 | |||
77 | /** |
||
78 | * @inheritDoc |
||
79 | */ |
||
80 | 2 | public function toArray() |
|
86 | } |