Total Complexity | 3 |
Total Lines | 18 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
20 | class DeleteCompanyHandler implements CommandHandlerProtocol |
||
21 | { |
||
22 | private CompanyRepositoryProtocol $repository; |
||
23 | |||
24 | public function __construct(CompanyRepositoryProtocol $repository) |
||
25 | { |
||
26 | $this->repository = $repository; |
||
27 | } |
||
28 | |||
29 | public function __invoke(DeleteCompany $command): void |
||
38 | } |
||
39 | } |
||
40 |