| Conditions | 1 |
| Paths | 1 |
| Total Lines | 15 |
| Code Lines | 9 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 50 | public function send(CommandInterface $command) |
||
| 51 | { |
||
| 52 | $this->producer->publish( |
||
| 53 | $this->serializer->serialize($command, 'json'), |
||
| 54 | get_class($command), |
||
| 55 | array( |
||
| 56 | 'application_headers' => array( |
||
| 57 | 'x-class-name' => array( |
||
| 58 | 'S', |
||
| 59 | get_class($command), |
||
| 60 | ), |
||
| 61 | ), |
||
| 62 | ) |
||
| 63 | ); |
||
| 64 | } |
||
| 65 | } |
||
| 66 |