PHP Class Swift_Transport_FailoverTransport, Halite

Author: Chris Corbyn
Inheritance: extends Swift_Transport_LoadBalancedTransport
Afficher le fichier Open project: HaliteChallenge/Halite Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) needed as __construct is called from elsewhere explicitly
send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer Send the given Message.

Méthodes protégées

Méthode Description
_getNextTransport ( )
_killCurrentTransport ( )

Method Details

__construct() public méthode

needed as __construct is called from elsewhere explicitly
public __construct ( )

_getNextTransport() protected méthode

protected _getNextTransport ( )

_killCurrentTransport() protected méthode

protected _killCurrentTransport ( )

send() public méthode

Recipient/sender data will be retrieved from the Message API. The return value is the number of recipients who were accepted for delivery.
public send ( Swift_Mime_Message $message, string[] &$failedRecipients = null ) : integer
$message Swift_Mime_Message
$failedRecipients string[] An array of failures by-reference
Résultat integer