W3cubDocs

/Symfony 4.1

AmqpTransportFactory

class AmqpTransportFactory implements TransportFactoryInterface

Methods

__construct(EncoderInterface $encoder, DecoderInterface $decoder, bool $debug)
TransportInterface createTransport(string $dsn, array $options)
bool supports(string $dsn, array $options)

Details

__construct(EncoderInterface $encoder, DecoderInterface $decoder, bool $debug)

Parameters

EncoderInterface $encoder
DecoderInterface $decoder
bool $debug

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