Total Complexity | 3 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 77.78% |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
14 | class MenuProvider implements MenuProviderInterface |
||
15 | { |
||
16 | private array $menuConfigurations; |
||
17 | private MenuFactoryInterface $menuFactory; |
||
18 | |||
19 | 1 | public function __construct( |
|
20 | array $menuConfigurations, |
||
21 | MenuFactoryInterface $menuFactory |
||
22 | ) { |
||
23 | 1 | $this->menuConfigurations = $menuConfigurations; |
|
24 | 1 | $this->menuFactory = $menuFactory; |
|
25 | 1 | } |
|
26 | |||
27 | 1 | public function get(string $name, array $options = []): ItemInterface |
|
32 | } |
||
33 | |||
34 | public function has(string $name, array $options = []): bool |
||
39 |