| Conditions | 2 |
| Paths | 2 |
| Total Lines | 11 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 41 | public function dispatch(MessageInterface $message) |
||
| 42 | { |
||
| 43 | // Dispatch the message |
||
| 44 | try { |
||
| 45 | return $this->dispatcher->dispatch($message); |
||
| 46 | } catch (\Exception $e) { |
||
| 47 | throw new MessageDispatchException( |
||
| 48 | $e->getMessage() . ' ' . $e->getCode() . ' ' . $e->getFile() . ' ' . $e->getLine() |
||
| 49 | ); |
||
| 50 | } |
||
| 51 | } |
||
| 52 | } |
||
| 53 |