W3cubDocs

/Symfony 4.1

TransportFactoryInterface

interface TransportFactoryInterface

Creates a Messenger transport.

Methods

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

Details

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/TransportFactoryInterface.html