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