Total Complexity | 2 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
17 | class MenuItem extends AbstractNavigationItem |
||
18 | { |
||
19 | /** |
||
20 | * @ORM\Column(type="boolean", nullable=false) |
||
21 | * @Groups({"content", "component"}) |
||
22 | * @var bool |
||
23 | */ |
||
24 | private $menuLabel = false; |
||
25 | |||
26 | /** |
||
27 | * @return bool |
||
28 | */ |
||
29 | 1 | public function isMenuLabel(): bool |
|
30 | { |
||
31 | 1 | return $this->menuLabel; |
|
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param bool $menuLabel |
||
36 | */ |
||
37 | 2 | public function setMenuLabel(bool $menuLabel): void |
|
40 | 2 | } |
|
41 | } |
||
42 |