| Conditions | 1 |
| Paths | 1 |
| Total Lines | 8 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 37 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 38 | { |
||
| 39 | $purchaseId = $input->getArgument('purchaseId'); |
||
| 40 | $ticketId = $input->getArgument('ticketId'); |
||
| 41 | |||
| 42 | $this->commandBus->dispatch(new CancelTicketCommand($purchaseId, $ticketId)); |
||
| 43 | |||
| 44 | $output->writeln(sprintf('Tickets cancelled. PurchaseId: %s', $purchaseId)); |
||
| 45 | } |
||
| 47 |