| 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 | 13 | public function __construct( |
|
| 21 | Identity $identity, |
||
| 22 | Agenda $agenda, |
||
| 23 | Name $name, |
||
| 24 | Slot $slot |
||
| 25 | ) { |
||
| 26 | 13 | $this->identity = $identity; |
|
| 27 | 13 | $this->agenda = $agenda; |
|
| 28 | 13 | $this->name = $name; |
|
| 29 | 13 | $this->slot = $slot; |
|
| 30 | 13 | } |
|
| 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 |