47 lines
1.4 KiB
YAML
47 lines
1.4 KiB
YAML
name: MessageBus
|
|
class_comment: '# * @author Samuel Roze <samuel.roze@gmail.com>
|
|
|
|
# * @author Matthias Noback <matthiasnoback@gmail.com>
|
|
|
|
# * @author Nicolas Grekas <p@tchwork.com>'
|
|
dependencies:
|
|
- name: MiddlewareInterface
|
|
type: class
|
|
source: Symfony\Component\Messenger\Middleware\MiddlewareInterface
|
|
- name: StackMiddleware
|
|
type: class
|
|
source: Symfony\Component\Messenger\Middleware\StackMiddleware
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: middlewareHandlers
|
|
default: '[]'
|
|
comment: "# * @author Samuel Roze <samuel.roze@gmail.com>\n# * @author Matthias\
|
|
\ Noback <matthiasnoback@gmail.com>\n# * @author Nicolas Grekas <p@tchwork.com>\n\
|
|
# */\n# class MessageBus implements MessageBusInterface\n# {\n# private \\IteratorAggregate\
|
|
\ $middlewareAggregate;\n# \n# /**\n# * @param iterable<mixed, MiddlewareInterface>\
|
|
\ $middlewareHandlers"
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: middlewareHandlers
|
|
comment: null
|
|
- name: getIterator
|
|
visibility: public
|
|
parameters: []
|
|
comment: null
|
|
- name: dispatch
|
|
visibility: public
|
|
parameters:
|
|
- name: message
|
|
- name: stamps
|
|
default: '[]'
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Messenger\Middleware\MiddlewareInterface
|
|
- Symfony\Component\Messenger\Middleware\StackMiddleware
|
|
interfaces:
|
|
- MessageBusInterface
|
|
- \IteratorAggregate
|