| 1 | <?php |
||
| 15 | class AddInsuranceDocumentCommand implements CommandInterface |
||
| 16 | { |
||
| 17 | /** @var \Madkom\RegistryApplication\Domain\CarManagement\CarRepositoryInterface $repository */ |
||
| 18 | private $repository; |
||
| 19 | private $document; |
||
| 20 | private $carId; |
||
| 21 | private $insuranceId; |
||
| 22 | |||
| 23 | public function __construct(CarRepositoryInterface $repository, $carId, $insuranceId, DocumentDTO $document) |
||
| 30 | |||
| 31 | public function execute() |
||
| 42 | } |
||
| 43 |