| Total Complexity | 4 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 10 | class QueueConsumer extends AbstractConsumer |
||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param \Jellyfish\Queue\DestinationInterface $destination |
||
| 14 | * |
||
| 15 | * @return \Jellyfish\Queue\MessageInterface|null |
||
| 16 | */ |
||
| 17 | public function receiveMessage(DestinationInterface $destination): ?MessageInterface |
||
| 22 | } |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @param \Jellyfish\Queue\DestinationInterface $destination |
||
| 26 | * @param int $limit |
||
| 27 | * |
||
| 28 | * @return \Jellyfish\Queue\MessageInterface[] |
||
| 29 | */ |
||
| 30 | public function receiveMessages(DestinationInterface $destination, int $limit): array |
||
| 48 |