44 lines
869 B
YAML
44 lines
869 B
YAML
name: SenderInterface
|
|
class_comment: null
|
|
dependencies:
|
|
- name: Envelope
|
|
type: class
|
|
source: Symfony\Component\Messenger\Envelope
|
|
- name: ExceptionInterface
|
|
type: class
|
|
source: Symfony\Component\Messenger\Exception\ExceptionInterface
|
|
properties: []
|
|
methods:
|
|
- name: send
|
|
visibility: public
|
|
parameters:
|
|
- name: envelope
|
|
comment: '# * @author Samuel Roze <samuel.roze@gmail.com>
|
|
|
|
# */
|
|
|
|
# interface SenderInterface
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * Sends the given envelope.
|
|
|
|
# *
|
|
|
|
# * The sender can read different stamps for transport configuration,
|
|
|
|
# * like delivery delay.
|
|
|
|
# *
|
|
|
|
# * If applicable, the returned Envelope should contain a TransportMessageIdStamp.
|
|
|
|
# *
|
|
|
|
# * @throws ExceptionInterface'
|
|
traits:
|
|
- Symfony\Component\Messenger\Envelope
|
|
- Symfony\Component\Messenger\Exception\ExceptionInterface
|
|
interfaces: []
|