1 | <?php |
||
13 | class Group implements GroupContract |
||
14 | { |
||
15 | use DisplayRule; |
||
16 | |||
17 | /** |
||
18 | * @var ItemContract |
||
19 | */ |
||
20 | protected $item; |
||
21 | |||
22 | /** |
||
23 | * @var BuilderContract |
||
24 | */ |
||
25 | protected $menu; |
||
26 | 2 | ||
27 | /** |
||
28 | 2 | * @param BuilderContract $menu |
|
29 | 2 | * @param ItemContract $item |
|
30 | 2 | */ |
|
31 | public function __construct(BuilderContract $menu, ItemContract $item) |
||
36 | |||
37 | 1 | /** |
|
38 | * @return BuilderContract |
||
39 | */ |
||
40 | public function getMenu() |
||
44 | |||
45 | 1 | /** |
|
46 | * @return ItemContract |
||
47 | */ |
||
48 | public function getItem() |
||
52 | } |