PHP 클래스 PhpSpec\Event\MethodCallEvent

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

공개 메소드들

메소드 설명
__construct ( ExampleNode $example, mixed $subject, string $method, array $arguments, mixed $returnValue = null )
getArguments ( ) : array
getExample ( ) : ExampleNode
getMethod ( ) : string
getReturnValue ( ) : mixed
getSpecification ( ) : SpecificationNode
getSubject ( ) : mixed
getSuite ( ) : PhpSpec\Loader\Suite

메소드 상세

__construct() 공개 메소드

public __construct ( ExampleNode $example, mixed $subject, string $method, array $arguments, mixed $returnValue = null )
$example PhpSpec\Loader\Node\ExampleNode
$subject mixed
$method string
$arguments array
$returnValue mixed

getArguments() 공개 메소드

public getArguments ( ) : array
리턴 array

getExample() 공개 메소드

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

getMethod() 공개 메소드

public getMethod ( ) : string
리턴 string

getReturnValue() 공개 메소드

public getReturnValue ( ) : mixed
리턴 mixed

getSpecification() 공개 메소드

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

getSubject() 공개 메소드

public getSubject ( ) : mixed
리턴 mixed

getSuite() 공개 메소드

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