Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 5 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
27 | final public function handle(Envelope $envelope, StackInterface $stack): Envelope |
||
28 | { |
||
29 | try { |
||
30 | $connection = $this->managerRegistry->getManager($this->entityManagerName); |
||
31 | } catch (InvalidArgumentException $e) { |
||
32 | throw new UnrecoverableMessageHandlingException($e->getMessage(), 0, $e); |
||
33 | } |
||
34 | |||
35 | return $this->handleForManager($connection, $envelope, $stack); |
||
36 | } |
||
40 |