1 | <?php |
||
13 | class Menu |
||
14 | { |
||
15 | use EntityIdTrait; |
||
16 | |||
17 | /** |
||
18 | * @ORM\Column(type="string", length=255) |
||
19 | */ |
||
20 | private $title; |
||
21 | |||
22 | /** |
||
23 | * @ORM\Column(type="string", length=2) |
||
24 | */ |
||
25 | private $locale; |
||
26 | |||
27 | /** |
||
28 | * @ORM\Column(type="smallint", nullable=true) |
||
29 | */ |
||
30 | private $sort_order; |
||
31 | |||
32 | /** |
||
33 | * @ORM\Column(type="string", length=255) |
||
34 | */ |
||
35 | private $url; |
||
36 | |||
37 | /** |
||
38 | * @ORM\Column(type="boolean", nullable=true) |
||
39 | */ |
||
40 | private $nofollow; |
||
41 | |||
42 | /** |
||
43 | * @ORM\Column(type="boolean", nullable=true) |
||
44 | */ |
||
45 | private $new_tab; |
||
46 | |||
47 | public function getTitle(): ?string |
||
51 | |||
52 | public function setTitle(string $title): self |
||
58 | |||
59 | public function getSortOrder(): ?int |
||
63 | |||
64 | public function setSortOrder(?int $sort_order): self |
||
70 | |||
71 | public function getUrl(): ?string |
||
75 | |||
76 | public function setUrl(string $url): self |
||
82 | |||
83 | public function getNofollow(): ?bool |
||
87 | |||
88 | public function setNofollow(?bool $nofollow): self |
||
94 | |||
95 | public function getNewTab(): ?bool |
||
99 | |||
100 | public function setNewTab(?bool $new_tab): self |
||
106 | |||
107 | public function getLocale(): string |
||
111 | |||
112 | public function setLocale(string $locale): self |
||
118 | } |
||
119 |