| Total Complexity | 6 |
| Total Lines | 46 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 7 | final class Visit |
||
| 8 | { |
||
| 9 | private $page; |
||
| 10 | private $redirectSource; |
||
| 11 | private $visitorId; |
||
| 12 | private $correlationId; |
||
| 13 | |||
| 14 | private function __construct( |
||
| 24 | } |
||
| 25 | |||
| 26 | public static function page( |
||
| 33 | } |
||
| 34 | |||
| 35 | public function whichPage(): string |
||
| 36 | { |
||
| 37 | return $this->page; |
||
| 38 | } |
||
| 39 | |||
| 40 | public function redirectSource(): string |
||
| 41 | { |
||
| 42 | return $this->redirectSource; |
||
| 43 | } |
||
| 44 | |||
| 45 | public function visitorId(): VisitorId |
||
| 48 | } |
||
| 49 | |||
| 50 | public function correlationId(): CorrelationId |
||
| 53 | } |
||
| 54 | } |
||
| 55 |