Total Complexity | 4 |
Total Lines | 26 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
12 | final class CreateIdentity |
||
13 | { |
||
14 | private $identity; |
||
15 | private $email; |
||
16 | private $password; |
||
17 | |||
18 | 3 | public function __construct(Identity $identity, Email $email, Password $password) |
|
23 | 3 | } |
|
24 | |||
25 | 2 | public function identity(): Identity |
|
26 | { |
||
27 | 2 | return $this->identity; |
|
28 | } |
||
29 | |||
30 | 3 | public function email(): Email |
|
33 | } |
||
34 | |||
35 | 2 | public function password(): Password |
|
38 | } |
||
39 | } |
||
40 |