| Total Complexity | 2 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | trait DescriptionString |
||
| 8 | { |
||
| 9 | /** @var string */ |
||
| 10 | protected $description; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @return string |
||
| 14 | */ |
||
| 15 | public function getDescription(): string |
||
| 16 | { |
||
| 17 | return $this->description; |
||
| 18 | } |
||
| 19 | |||
| 20 | /** |
||
| 21 | * @param string $description |
||
| 22 | * |
||
| 23 | * @return $this |
||
| 24 | */ |
||
| 25 | public function setDescription(string $description): self |
||
| 30 | } |
||
| 31 | } |
||
| 32 |