HasDocs.php in Simple Analytics 1.106, at src/Settings/Concerns/HasDocs.php
| 1 | <?php |
| 2 | |
| 3 | namespace SimpleAnalytics\Settings\Concerns; |
| 4 | |
| 5 | trait HasDocs |
| 6 | { |
| 7 | /** |
| 8 | * @var string|null |
| 9 | */ |
| 10 | protected $description; |
| 11 | |
| 12 | /** |
| 13 | * @var string|null |
| 14 | */ |
| 15 | protected $docs; |
| 16 | |
| 17 | public function description(string $description): self |
| 18 | { |
| 19 | $this->description = $description; |
| 20 | |
| 21 | return $this; |
| 22 | } |
| 23 | |
| 24 | public function docs(string $docs): self |
| 25 | { |
| 26 | $this->docs = $docs; |
| 27 | |
| 28 | return $this; |
| 29 | } |
| 30 | } |
| 31 |