31 lines
673 B
YAML
31 lines
673 B
YAML
name: AddBusNameStampMiddleware
|
|
class_comment: '# * Adds the BusNameStamp to the bus.
|
|
|
|
# *
|
|
|
|
# * @author Ryan Weaver <ryan@symfonycasts.com>'
|
|
dependencies:
|
|
- name: Envelope
|
|
type: class
|
|
source: Symfony\Component\Messenger\Envelope
|
|
- name: BusNameStamp
|
|
type: class
|
|
source: Symfony\Component\Messenger\Stamp\BusNameStamp
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: busName
|
|
comment: null
|
|
- name: handle
|
|
visibility: public
|
|
parameters:
|
|
- name: envelope
|
|
- name: stack
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Messenger\Envelope
|
|
- Symfony\Component\Messenger\Stamp\BusNameStamp
|
|
interfaces:
|
|
- MiddlewareInterface
|