PHP Class PhpSpec\Event\MethodCallEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event, implements PhpSpecEvent
Exibir arquivo Open project: phpspec/phpspec Class Usage Examples

Public Methods

Method Description
__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

Method Details

__construct() public method

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 method

public getArguments ( ) : array
return array

getExample() public method

public getExample ( ) : ExampleNode
return PhpSpec\Loader\Node\ExampleNode

getMethod() public method

public getMethod ( ) : string
return string

getReturnValue() public method

public getReturnValue ( ) : mixed
return mixed

getSpecification() public method

public getSpecification ( ) : SpecificationNode
return PhpSpec\Loader\Node\SpecificationNode

getSubject() public method

public getSubject ( ) : mixed
return mixed

getSuite() public method

public getSuite ( ) : PhpSpec\Loader\Suite
return PhpSpec\Loader\Suite