53 lines
1.2 KiB
YAML
53 lines
1.2 KiB
YAML
name: TransportFactory
|
|
class_comment: '# * @author Samuel Roze <samuel.roze@gmail.com>
|
|
|
|
# *
|
|
|
|
# * @implements TransportFactoryInterface<TransportInterface>'
|
|
dependencies:
|
|
- name: InvalidArgumentException
|
|
type: class
|
|
source: Symfony\Component\Messenger\Exception\InvalidArgumentException
|
|
- name: SerializerInterface
|
|
type: class
|
|
source: Symfony\Component\Messenger\Transport\Serialization\SerializerInterface
|
|
properties: []
|
|
methods:
|
|
- name: __construct
|
|
visibility: public
|
|
parameters:
|
|
- name: factories
|
|
comment: '# * @author Samuel Roze <samuel.roze@gmail.com>
|
|
|
|
# *
|
|
|
|
# * @implements TransportFactoryInterface<TransportInterface>
|
|
|
|
# */
|
|
|
|
# class TransportFactory implements TransportFactoryInterface
|
|
|
|
# {
|
|
|
|
# /**
|
|
|
|
# * @param iterable<mixed, TransportFactoryInterface> $factories'
|
|
- name: createTransport
|
|
visibility: public
|
|
parameters:
|
|
- name: dsn
|
|
- name: options
|
|
- name: serializer
|
|
comment: null
|
|
- name: supports
|
|
visibility: public
|
|
parameters:
|
|
- name: dsn
|
|
- name: options
|
|
comment: null
|
|
traits:
|
|
- Symfony\Component\Messenger\Exception\InvalidArgumentException
|
|
- Symfony\Component\Messenger\Transport\Serialization\SerializerInterface
|
|
interfaces:
|
|
- TransportFactoryInterface
|
|
- TransportFactoryInterface
|