Documentation

ArrayTransport extends Transport
in package

Table of Contents

$plugins  : array<string|int, mixed>
The plug-ins registered with the transport.
$messages  : Collection
The collection of Swift Messages.
__construct()  : void
Create a new array transport instance.
flush()  : Collection
Clear all of the messages from the local collection.
isStarted()  : bool
Test if this Transport mechanism has started.
messages()  : Collection
Retrieve the collection of messages.
ping()  : bool
Check if this Transport mechanism is alive.
registerPlugin()  : void
Register a plug-in with the transport.
send()  : mixed
{@inheritdoc}
start()  : mixed
Start this Transport mechanism.
stop()  : mixed
Stop this Transport mechanism.
beforeSendPerformed()  : void
Iterate through registered plugins and execute plugins' methods.
numberOfRecipients()  : int
Get the number of recipients.
sendPerformed()  : void
Iterate through registered plugins and execute plugins' methods.

Properties

$plugins

The plug-ins registered with the transport.

public array<string|int, mixed> $plugins = []

Methods

__construct()

Create a new array transport instance.

public __construct() : void
Return values
void

isStarted()

Test if this Transport mechanism has started.

public isStarted() : bool
Return values
bool

ping()

Check if this Transport mechanism is alive.

public ping() : bool
Return values
bool

TRUE if the transport is alive

start()

Start this Transport mechanism.

public start() : mixed
Return values
mixed

stop()

Stop this Transport mechanism.

public stop() : mixed
Return values
mixed

Search results