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