Total Complexity | 3 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Changes | 5 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class UserMenuBuilder extends AbstractMenuBuilder |
||
12 | { |
||
13 | public function __construct( |
||
14 | FactoryInterface $factory, |
||
15 | EventDispatcherInterface $eventDispatcher, |
||
16 | ) { |
||
17 | parent::__construct($factory, $eventDispatcher); |
||
18 | } |
||
19 | |||
20 | public function getName(): string |
||
21 | { |
||
22 | return 'user'; |
||
23 | } |
||
24 | |||
25 | protected function buildMenu(ItemInterface $menu): void |
||
30 | ]); |
||
31 | } |
||
32 | } |
||
33 |