| 1 | <?php |
||
| 10 | final class InvoiceDamageCommandHandler |
||
| 11 | { |
||
| 12 | |||
| 13 | /** |
||
| 14 | * @var FlightDamageRepository |
||
| 15 | */ |
||
| 16 | private $damageRepository; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * @param FlightDamageRepository $damageRepository |
||
| 20 | */ |
||
| 21 | public function __construct(FlightDamageRepository $damageRepository) |
||
| 25 | |||
| 26 | /** |
||
| 27 | * @param InvoiceDamageCommand $command |
||
| 28 | * |
||
| 29 | * @throws \Exception |
||
| 30 | */ |
||
| 31 | public function __invoke(InvoiceDamageCommand $command){ |
||
| 36 | |||
| 37 | |||
| 38 | } |