Transports
in package
implements
TransportInterface
FinalYes
Tags
Table of Contents
Interfaces
Properties
- $transports : array<string, TransportInterface>
Methods
- __construct() : mixed
- __toString() : string
- send() : SentMessage
- supports() : bool
Properties
$transports
private
array<string, TransportInterface>
$transports
= []
Methods
__construct()
public
__construct(iterable<string, TransportInterface> $transports) : mixed
Parameters
- $transports : iterable<string, TransportInterface>
__toString()
public
__toString() : string
Return values
stringsend()
public
send(MessageInterface $message) : SentMessage
Parameters
- $message : MessageInterface
Return values
SentMessagesupports()
public
supports(MessageInterface $message) : bool
Parameters
- $message : MessageInterface