| Total Complexity | 3 |
| Total Lines | 19 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class MenuEvent extends Event |
||
| 11 | { |
||
| 12 | private string $menuName; |
||
| 13 | private ItemInterface $menu; |
||
| 14 | |||
| 15 | public function __construct(string $menuName, ItemInterface $menu) |
||
| 19 | } |
||
| 20 | |||
| 21 | public function getMenuName(): string |
||
| 22 | { |
||
| 23 | return $this->menuName; |
||
| 24 | } |
||
| 25 | |||
| 26 | public function getMenu(): ItemInterface |
||
| 29 | } |
||
| 30 | } |
||
| 31 |