W3cubDocs

/Symfony 4.1

TransportFactory

class TransportFactory implements TransportFactoryInterface

Methods

__construct(iterable $factories)
TransportInterface createTransport(string $dsn, array $options)
bool supports(string $dsn, array $options)

Details

__construct(iterable $factories)

Parameters

iterable $factories

TransportInterface createTransport(string $dsn, array $options)

Parameters

string $dsn
array $options

Return Value

TransportInterface

bool supports(string $dsn, array $options)

Parameters

string $dsn
array $options

Return Value

bool

© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Messenger/Transport/TransportFactory.html