PHP Interface Swift_Transport_SmtpAgent, Halite

Author: Chris Corbyn
Afficher le fichier Open project: HaliteChallenge/Halite Interface Usage Examples

Méthodes publiques

Méthode Description
executeCommand ( string $command, int[] $codes = [], string[] &$failures = null ) Run a command against the buffer, expecting the given response codes.
getBuffer ( ) : Swift_Transport_IoBuffer Get the IoBuffer where read/writes are occurring.

Method Details

executeCommand() public méthode

If no response codes are given, the response will not be validated. If codes are given, an exception will be thrown on an invalid response.
public executeCommand ( string $command, int[] $codes = [], string[] &$failures = null )
$command string
$codes int[]
$failures string[] An array of failures by-reference

getBuffer() public méthode

Get the IoBuffer where read/writes are occurring.
public getBuffer ( ) : Swift_Transport_IoBuffer
Résultat Swift_Transport_IoBuffer