PHP 클래스 Swift_MemorySpool, Halite

저자: Fabien Potencier
상속: implements Swift_Spool
파일 보기 프로젝트 열기: HaliteChallenge/Halite 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$messages

공개 메소드들

메소드 설명
flushQueue ( Swift_Transport $transport, string[] &$failedRecipients = null ) : integer Sends messages using the given transport instance.
isStarted ( ) : boolean Tests if this Transport mechanism has started.
queueMessage ( Swift_Mime_Message $message ) : boolean Stores a message in the queue.
setFlushRetries ( integer $retries )
start ( ) Starts this Transport mechanism.
stop ( ) Stops this Transport mechanism.

메소드 상세

flushQueue() 공개 메소드

Sends messages using the given transport instance.
public flushQueue ( Swift_Transport $transport, string[] &$failedRecipients = null ) : integer
$transport Swift_Transport A transport instance
$failedRecipients string[] An array of failures by-reference
리턴 integer The number of sent emails

isStarted() 공개 메소드

Tests if this Transport mechanism has started.
public isStarted ( ) : boolean
리턴 boolean

queueMessage() 공개 메소드

Stores a message in the queue.
public queueMessage ( Swift_Mime_Message $message ) : boolean
$message Swift_Mime_Message The message to store
리턴 boolean Whether the operation has succeeded

setFlushRetries() 공개 메소드

public setFlushRetries ( integer $retries )
$retries integer

start() 공개 메소드

Starts this Transport mechanism.
public start ( )

stop() 공개 메소드

Stops this Transport mechanism.
public stop ( )

프로퍼티 상세

$messages 보호되어 있는 프로퍼티

protected $messages