Total Complexity | 2 |
Total Lines | 19 |
Duplicated Lines | 0 % |
Coverage | 0% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | trait HasDescription |
||
10 | { |
||
11 | #[ORM\Column(type: 'text', length: 65535, options: ['default' => ''])] |
||
12 | private string $description = ''; |
||
13 | |||
14 | /** |
||
15 | * Set description. |
||
16 | */ |
||
17 | public function setDescription(string $description): void |
||
18 | { |
||
19 | $this->description = $description; |
||
20 | } |
||
21 | |||
22 | /** |
||
23 | * Get description. |
||
24 | */ |
||
25 | public function getDescription(): string |
||
28 | } |
||
29 | } |
||
30 |