PHP 클래스 MockPHPMailer

상속: extends PHPMailer
파일 보기 프로젝트 열기: lucatume/wp-browser

공개 프로퍼티들

프로퍼티 타입 설명
$mock_sent

공개 메소드들

메소드 설명
get_recipient ( string $address_type, integer $mock_sent_index, integer $recipient_index ) : boolean | object Get a recipient for a sent mock.
get_sent ( integer $index ) : object Decorator to return the information for a sent mock.
postSend ( ) Override postSend() so mail isn't actually sent.
preSend ( )

메소드 상세

get_recipient() 공개 메소드

Get a recipient for a sent mock.
부터: 4.5.0
public get_recipient ( string $address_type, integer $mock_sent_index, integer $recipient_index ) : boolean | object
$address_type string The type of address for the email such as to, cc or bcc.
$mock_sent_index integer Optional. The sent_mock index we want to get the recipient for.
$recipient_index integer Optional. The recipient index in the array.
리턴 boolean | object Returns object on success, or false if any of the indices don't exist.

get_sent() 공개 메소드

Decorator to return the information for a sent mock.
부터: 4.5.0
public get_sent ( integer $index ) : object
$index integer Optional. Array index of mock_sent value.
리턴 object

postSend() 공개 메소드

Override postSend() so mail isn't actually sent.
public postSend ( )

preSend() 공개 메소드

public preSend ( )

프로퍼티 상세

$mock_sent 공개적으로 프로퍼티

public $mock_sent