Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class Invitation |
||
10 | { |
||
11 | private $organizationId; |
||
12 | private $email; |
||
13 | private $firstname; |
||
14 | private $lastname; |
||
15 | private $token; |
||
16 | private $hash; |
||
17 | |||
18 | public function __construct(string $organizationId, string $email, ?string $firstname = null, ?string $lastname = null) |
||
26 | } |
||
27 | |||
28 | public function hash():string |
||
29 | { |
||
30 | return $this->hash; |
||
31 | } |
||
32 | |||
33 | public function data():array |
||
40 | ]; |
||
41 | } |
||
43 |