PHP 클래스 Alex\MailCatcher\Behat\MailCatcherContext

저자: Alexandre Salomé ([email protected])
상속: implements Behat\Behat\Context\Context
파일 보기 프로젝트 열기: alexandresalome/mailcatcher

보호된 프로퍼티들

프로퍼티 타입 설명
$currentMessage Alex\MailCatcher\Message | null
$mailCatcherClient Alex\MailCatcher\Client | null This property is duplicated from MailCatcherTrait for support in PHP 5.3
$purgeBeforeScenario boolean

공개 메소드들

메소드 설명
beforeScenario ( )
getMailCatcherClient ( ) : Alex\MailCatcher\Client This method is duplicated from MailCatcherTrait, for support in PHP 5.3
getTranslationResources ( ) : array Returns list of definition translation resources paths.
openMailContaining ( $value )
openMailFrom ( $value )
openMailSubject ( $value )
openMailTo ( $value )
purge ( )
seeInMail ( $text )
seeMailContaining ( $value )
seeMailFrom ( $value )
seeMailSubject ( $value )
seeMailTo ( $value )
setMailCatcherClient ( Alex\MailCatcher\Client $client ) This method is duplicated from MailCatcherTrait, for support in PHP 5.3
setMailCatcherConfiguration ( boolean $purgeBeforeScenario = true ) Sets mailcatcher configuration.
verifyMailsSent ( $count )

보호된 메소드들

메소드 설명
findMail ( $type, $value ) : Message This method is duplicated from MailCatcherTrait, for support in PHP 5.3

비공개 메소드들

메소드 설명
getCrawler ( Message $message ) : Crawler
getCurrentMessage ( ) : Message | null

메소드 상세

beforeScenario() 공개 메소드

public beforeScenario ( )

findMail() 보호된 메소드

This method is duplicated from MailCatcherTrait, for support in PHP 5.3
protected findMail ( $type, $value ) : Message
리턴 Alex\MailCatcher\Message

getMailCatcherClient() 공개 메소드

Returns the mailcatcher client.
public getMailCatcherClient ( ) : Alex\MailCatcher\Client
리턴 Alex\MailCatcher\Client

getTranslationResources() 공개 정적인 메소드

Returns list of definition translation resources paths.
public static getTranslationResources ( ) : array
리턴 array

openMailContaining() 공개 메소드

public openMailContaining ( $value )

openMailFrom() 공개 메소드

public openMailFrom ( $value )

openMailSubject() 공개 메소드

public openMailSubject ( $value )

openMailTo() 공개 메소드

public openMailTo ( $value )

purge() 공개 메소드

public purge ( )

seeInMail() 공개 메소드

public seeInMail ( $text )

seeMailContaining() 공개 메소드

public seeMailContaining ( $value )

seeMailFrom() 공개 메소드

public seeMailFrom ( $value )

seeMailSubject() 공개 메소드

public seeMailSubject ( $value )

seeMailTo() 공개 메소드

public seeMailTo ( $value )

setMailCatcherClient() 공개 메소드

Sets the mailcatcher client.
public setMailCatcherClient ( Alex\MailCatcher\Client $client )
$client Alex\MailCatcher\Client a mailcatcher client

setMailCatcherConfiguration() 공개 메소드

Sets mailcatcher configuration.
public setMailCatcherConfiguration ( boolean $purgeBeforeScenario = true )
$purgeBeforeScenario boolean set false if you don't want context to purge before scenario

verifyMailsSent() 공개 메소드

public verifyMailsSent ( $count )

프로퍼티 상세

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

protected Message,Alex\MailCatcher|null $currentMessage
리턴 Alex\MailCatcher\Message | null

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

This property is duplicated from MailCatcherTrait for support in PHP 5.3
protected Client,Alex\MailCatcher|null $mailCatcherClient
리턴 Alex\MailCatcher\Client | null

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

protected bool $purgeBeforeScenario
리턴 boolean