Total Complexity | 4 |
Total Lines | 34 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait EntityMetaTrait |
||
10 | { |
||
11 | /** |
||
12 | * @ORM\Column(type="string", length=255, nullable=true) |
||
13 | */ |
||
14 | private ?string $meta_title; |
||
15 | |||
16 | /** |
||
17 | * @ORM\Column(type="string", length=255, nullable=true) |
||
18 | */ |
||
19 | private ?string $meta_description; |
||
20 | |||
21 | public function getMetaTitle(): ?string |
||
24 | } |
||
25 | |||
26 | public function setMetaTitle(?string $meta_title): self |
||
27 | { |
||
28 | $this->meta_title = $meta_title; |
||
29 | |||
30 | return $this; |
||
31 | } |
||
32 | |||
33 | public function getMetaDescription(): ?string |
||
34 | { |
||
35 | return $this->meta_description; |
||
36 | } |
||
37 | |||
38 | public function setMetaDescription(?string $meta_description): self |
||
43 | } |
||
44 | } |
||
45 |