| Total Complexity | 5 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | class ReadCompany implements ReadCompanyDomain |
||
| 24 | { |
||
| 25 | private CompanyRepository $companyRepository; |
||
| 26 | |||
| 27 | public function __construct(CompanyRepository $companyRepository) |
||
| 30 | } |
||
| 31 | |||
| 32 | public function findOneByUuid(string $uuid): CompanyModel |
||
| 41 | } |
||
| 42 | |||
| 43 | public function companyExist(): bool |
||
| 44 | { |
||
| 45 | return $this->companyRepository->companyExist(); |
||
| 46 | } |
||
| 47 | |||
| 48 | public function findAll(): array |
||
| 51 | } |
||
| 52 | } |
||
| 53 |