| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 3 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 19 | protected function handleForManager( |
||
| 20 | EntityManagerInterface $entityManager, |
||
| 21 | Envelope $envelope, |
||
| 22 | StackInterface $stack |
||
| 23 | ): Envelope { |
||
| 24 | if (null !== $envelope->last(ConsumedByWorkerStamp::class)) { |
||
| 25 | $this->pingConnection($entityManager); |
||
| 26 | } |
||
| 27 | |||
| 28 | return $stack->next()->handle($envelope, $stack); |
||
| 29 | } |
||
| 56 |