| Total Complexity | 2 |
| Total Lines | 27 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 20 | trait StringPrevPageTrait { |
||
| 21 | |||
| 22 | /** |
||
| 23 | * Prev page. |
||
| 24 | * |
||
| 25 | * @var string|null |
||
| 26 | */ |
||
| 27 | private $prevPage; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * Get the prev page. |
||
| 31 | * |
||
| 32 | * @return string|null Returns the prev page. |
||
| 33 | */ |
||
| 34 | public function getPrevPage(): ?string { |
||
| 36 | } |
||
| 37 | |||
| 38 | /** |
||
| 39 | * Set the prev page. |
||
| 40 | * |
||
| 41 | * @param string|null $prevPage The prev page. |
||
| 42 | * @return self Returns this instance. |
||
| 43 | */ |
||
| 44 | public function setPrevPage(?string $prevPage): self { |
||
| 49 |