Total Complexity | 2 |
Total Lines | 29 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 0 |
1 | <?php |
||
15 | final class DeleteAgendaHandler |
||
16 | { |
||
17 | private $agendas; |
||
18 | private $events; |
||
19 | private $cancelEvent; |
||
20 | |||
21 | 1 | public function __construct( |
|
22 | AgendaRepository $agendas, |
||
23 | EventRepository $events, |
||
24 | CancelEventHandler $cancelEvent |
||
25 | ) { |
||
26 | 1 | $this->agendas = $agendas; |
|
27 | 1 | $this->events = $events; |
|
28 | 1 | $this->cancelEvent = $cancelEvent; |
|
29 | 1 | } |
|
30 | |||
31 | 1 | public function __invoke(DeleteAgenda $wished): void |
|
44 | 1 | } |
|
45 | } |
||
46 |