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