class SparkPostTransport extends Transport (View source)

Properties

array $plugins The plug-ins registered with the transport. from Transport

Methods

isStarted()

{@inheritdoc}

from Transport
start()

{@inheritdoc}

from Transport
stop()

{@inheritdoc}

from Transport
void
registerPlugin( Swift_Events_EventListener $plugin)

Register a plug-in with the transport.

from Transport
void
__construct( ClientInterface $client, string $key)

Create a new SparkPost transport instance.

send( Swift_Mime_Message $message, $failedRecipients = null)

{@inheritdoc}

string
getKey()

Get the API key being used by the transport.

string
setKey( string $key)

Set the API key being used by the transport.

Details

in Transport at line line 22
isStarted()

{@inheritdoc}

in Transport at line line 30
start()

{@inheritdoc}

in Transport at line line 38
stop()

{@inheritdoc}

in Transport at line line 49
void registerPlugin( Swift_Events_EventListener $plugin)

Register a plug-in with the transport.

Parameters

Swift_Events_EventListener $plugin

Return Value

void

at line line 31
void __construct( ClientInterface $client, string $key)

Create a new SparkPost transport instance.

Parameters

ClientInterface $client
string $key

Return Value

void

at line line 40
send( Swift_Mime_Message $message, $failedRecipients = null)

{@inheritdoc}

Parameters

Swift_Mime_Message $message
$failedRecipients

at line line 114
string getKey()

Get the API key being used by the transport.

Return Value

string

at line line 125
string setKey( string $key)

Set the API key being used by the transport.

Parameters

string $key

Return Value

string