1 | <?php |
||
20 | trait StringDescriptionTrait { |
||
21 | |||
22 | /** |
||
23 | * Description. |
||
24 | * |
||
25 | * @var string|null |
||
26 | */ |
||
27 | protected $description; |
||
28 | |||
29 | /** |
||
30 | * Get the description. |
||
31 | * |
||
32 | * @return string|null Returns the description. |
||
33 | */ |
||
34 | public function getDescription(): ?string { |
||
37 | |||
38 | /** |
||
39 | * Set the description. |
||
40 | * |
||
41 | * @param string|null $description The description. |
||
42 | * @return self Returns this instance. |
||
43 | */ |
||
44 | public function setDescription(?string $description): self { |
||
48 | } |
||
49 |