| Total Complexity | 2 |
| Total Lines | 21 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | trait DocumentationTrait |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var string|null $documentation The documentation. |
||
| 18 | */ |
||
| 19 | protected $documentation; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * @param string|null $documentation The new documentation to be set. |
||
| 23 | */ |
||
| 24 | public function setDocumentation(?string $documentation): void |
||
| 25 | { |
||
| 26 | $this->documentation = $documentation; |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * @return string|null The current documentation. |
||
| 31 | */ |
||
| 32 | public function getDocumentation(): ?string |
||
| 35 | } |
||
| 36 | } |
||
| 37 |