InMemoryTransportFactory
in package
implements
TransportFactoryInterface, ResetInterface
Tags
Table of Contents
Interfaces
- TransportFactoryInterface
- Creates a Messenger transport.
- ResetInterface
- Provides a way to reset an object to its initial state.
Properties
- $createdTransports : array<string|int, InMemoryTransport>
Methods
- createTransport() : TransportInterface
- reset() : mixed
- supports() : bool
- parseDsn() : array<string|int, mixed>
Properties
$createdTransports
private
array<string|int, InMemoryTransport>
$createdTransports
= []
Methods
createTransport()
public
createTransport(string $dsn, array<string|int, mixed> $options, SerializerInterface $serializer) : TransportInterface
Parameters
- $dsn : string
- $options : array<string|int, mixed>
- $serializer : SerializerInterface
Return values
TransportInterfacereset()
public
reset() : mixed
supports()
public
supports(string $dsn, array<string|int, mixed> $options) : bool
Parameters
- $dsn : string
- $options : array<string|int, mixed>
Return values
boolparseDsn()
private
parseDsn(string $dsn) : array<string|int, mixed>
Parameters
- $dsn : string