| Total Complexity | 2 |
| Total Lines | 40 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php declare(strict_types=1); |
||
| 11 | class CompanyController |
||
| 12 | { |
||
| 13 | /** |
||
| 14 | * @var CompanyRepository |
||
| 15 | */ |
||
| 16 | private $companyRepository; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @var SerializerInterface |
||
| 20 | */ |
||
| 21 | private $companySerializer; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * @param CompanyRepository $companyRepository |
||
| 25 | * @param SerializerInterface $companySerializer |
||
| 26 | */ |
||
| 27 | public function __construct( |
||
| 33 | } |
||
| 34 | |||
| 35 | /** |
||
| 36 | * @param Request $request |
||
| 37 | * @return Response |
||
| 38 | */ |
||
| 39 | public function save(Request $request): Response |
||
| 53 |