| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 0 |
| CRAP Score | 2 |
| Changes | 0 | ||
| 1 | <?php |
||
| 55 | protected function execute(InputInterface $input, OutputInterface $output) |
||
| 56 | { |
||
| 57 | $producer = $this->getContainer()->get('graviton.message.jobproducer'); |
||
| 58 | $producer->setContentType('application/json'); |
||
| 59 | $producer->publish( |
||
| 60 | $input->getArgument('data'), |
||
| 61 | $input->getArgument('message') |
||
| 62 | ); |
||
| 63 | } |
||
| 64 | } |
||
| 65 |