Total Complexity | 4 |
Total Lines | 28 |
Duplicated Lines | 0 % |
Changes | 2 | ||
Bugs | 1 | Features | 1 |
1 | <?php |
||
18 | class ExtensionMenuEvent |
||
19 | { |
||
20 | private $bundleName; |
||
21 | |||
22 | private $menuType; |
||
23 | |||
24 | private $menu; |
||
25 | |||
26 | public function __construct(string $bundleName, string $menuType, ?ItemInterface $menu) |
||
27 | { |
||
28 | $this->bundleName = $bundleName; |
||
29 | $this->menuType = $menuType; |
||
30 | $this->menu = $menu; |
||
31 | } |
||
32 | |||
33 | public function getBundleName(): string |
||
34 | { |
||
35 | return $this->bundleName; |
||
36 | } |
||
37 | |||
38 | public function getMenuType(): string |
||
41 | } |
||
42 | |||
43 | public function getMenu(): ?ItemInterface |
||
46 | } |
||
47 | } |
||
48 |