Total Complexity | 4 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php declare(strict_types=1); |
||
8 | final class AccountOverview |
||
9 | { |
||
10 | private $id; |
||
11 | private $visitorId; |
||
12 | |||
13 | public function __construct(AccountId $id, VisitorId $visitorId) |
||
14 | { |
||
15 | $this->id = $id; |
||
16 | $this->visitorId = $visitorId; |
||
17 | } |
||
18 | |||
19 | public function id(): AccountId |
||
22 | } |
||
23 | |||
24 | public function visitor(): VisitorId |
||
25 | { |
||
26 | return $this->visitorId; |
||
27 | } |
||
28 | |||
29 | public function isGuestAccount(): bool |
||
32 | } |
||
33 | } |
||
34 |