Total Complexity | 5 |
Total Lines | 37 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
13 | final class EventWasAdded |
||
14 | { |
||
15 | private $identity; |
||
16 | private $agenda; |
||
17 | private $name; |
||
18 | private $slot; |
||
19 | |||
20 | 11 | public function __construct( |
|
21 | Identity $identity, |
||
22 | Agenda $agenda, |
||
23 | Name $name, |
||
24 | Slot $slot |
||
25 | ) { |
||
26 | 11 | $this->identity = $identity; |
|
27 | 11 | $this->agenda = $agenda; |
|
28 | 11 | $this->name = $name; |
|
29 | 11 | $this->slot = $slot; |
|
30 | 11 | } |
|
31 | |||
32 | 2 | public function identity(): Identity |
|
33 | { |
||
34 | 2 | return $this->identity; |
|
35 | } |
||
36 | |||
37 | 2 | public function agenda(): Agenda |
|
40 | } |
||
41 | |||
42 | 2 | public function name(): Name |
|
45 | } |
||
46 | |||
47 | 2 | public function slot(): Slot |
|
52 |