Documentation

MandrillTransport extends Transport
in package

Table of Contents

$plugins  : array<string|int, mixed>
The plug-ins registered with the transport.
$client  : ClientInterface
Guzzle client instance.
$key  : string
The Mandrill API key.
__construct()  : void
Create a new Mandrill transport instance.
getKey()  : string
Get the API key being used by the transport.
isStarted()  : bool
Test if this Transport mechanism has started.
ping()  : bool
Check if this Transport mechanism is alive.
registerPlugin()  : void
Register a plug-in with the transport.
send()  : mixed
{@inheritdoc}
setKey()  : string
Set the API key being used by the transport.
start()  : mixed
Start this Transport mechanism.
stop()  : mixed
Stop this Transport mechanism.
beforeSendPerformed()  : void
Iterate through registered plugins and execute plugins' methods.
getTo()  : array<string|int, mixed>
Get all the addresses this message should be sent to.
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

getKey()

Get the API key being used by the transport.

public getKey() : string
Return values
string

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

setKey()

Set the API key being used by the transport.

public setKey(string $key) : string
Parameters
$key : string
Return values
string

start()

Start this Transport mechanism.

public start() : mixed
Return values
mixed

stop()

Stop this Transport mechanism.

public stop() : mixed
Return values
mixed

Search results