40 lines
755 B
YAML
40 lines
755 B
YAML
name: QueueReceiverInterface
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Envelope
|
|
type: class
|
|
source: Symfony\Component\Messenger\Envelope
|
|
properties: []
|
|
methods:
|
|
- name: getFromQueues
|
|
visibility: public
|
|
parameters:
|
|
- name: queueNames
|
|
comment: '# * Some transports may have multiple queues. This interface is used to
|
|
read from only some queues.
|
|
|
|
# *
|
|
|
|
# * @author David Buchmann <mail@davidbu.ch>
|
|
|
|
# */
|
|
|
|
# interface QueueReceiverInterface extends ReceiverInterface
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Get messages from the specified queue names instead of consuming from all
|
|
queues.
|
|
|
|
# *
|
|
|
|
# * @param string[] $queueNames
|
|
|
|
# *
|
|
|
|
# * @return Envelope[]'
|
|
traits:
|
|
- Symfony\Component\Messenger\Envelope
|
|
interfaces: []
|