PHP 클래스 PhpSpec\Event\ExampleEvent

상속: extends Symfony\Component\EventDispatcher\Event, implements PhpSpecEvent
파일 보기 프로젝트 열기: phpspec/phpspec 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( ExampleNode $example, float | null $time = null, integer | null $result = null, Exception $exception = null )
getBacktrace ( ) : array
getExample ( ) : ExampleNode
getException ( ) : Exception
getMessage ( ) : string
getResult ( ) : integer
getSpecification ( ) : SpecificationNode
getSuite ( ) : PhpSpec\Loader\Suite
getTime ( ) : float
getTitle ( ) : string

메소드 상세

__construct() 공개 메소드

public __construct ( ExampleNode $example, float | null $time = null, integer | null $result = null, Exception $exception = null )
$example PhpSpec\Loader\Node\ExampleNode
$time float | null
$result integer | null
$exception Exception

getBacktrace() 공개 메소드

public getBacktrace ( ) : array
리턴 array

getExample() 공개 메소드

public getExample ( ) : ExampleNode
리턴 PhpSpec\Loader\Node\ExampleNode

getException() 공개 메소드

public getException ( ) : Exception
리턴 Exception

getMessage() 공개 메소드

public getMessage ( ) : string
리턴 string

getResult() 공개 메소드

public getResult ( ) : integer
리턴 integer

getSpecification() 공개 메소드

public getSpecification ( ) : SpecificationNode
리턴 PhpSpec\Loader\Node\SpecificationNode

getSuite() 공개 메소드

public getSuite ( ) : PhpSpec\Loader\Suite
리턴 PhpSpec\Loader\Suite

getTime() 공개 메소드

public getTime ( ) : float
리턴 float

getTitle() 공개 메소드

public getTitle ( ) : string
리턴 string