1 | <?php |
||
12 | class SubMenu implements SubMenuContract |
||
13 | { |
||
14 | |||
15 | /** |
||
16 | * @var ItemContract |
||
17 | */ |
||
18 | protected $item; |
||
19 | |||
20 | /** |
||
21 | * @var BuilderContract |
||
22 | */ |
||
23 | protected $menu; |
||
24 | |||
25 | /** |
||
26 | * @inheritDoc |
||
27 | */ |
||
28 | 5 | public function __construct(BuilderContract $menu, ItemContract $item) |
|
33 | |||
34 | /** |
||
35 | * @inheritDoc |
||
36 | */ |
||
37 | 4 | public function getMenu() |
|
41 | |||
42 | /** |
||
43 | * @inheritDoc |
||
44 | */ |
||
45 | 4 | public function getItem() |
|
49 | } |