PHP Class PhpSpec\Event\MethodCallEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event, implements PhpSpecEvent
Afficher le fichier Open project: phpspec/phpspec Class Usage Examples

Méthodes publiques

Méthode 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 méthode

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 méthode

public getArguments ( ) : array
Résultat array

getExample() public méthode

public getExample ( ) : ExampleNode
Résultat PhpSpec\Loader\Node\ExampleNode

getMethod() public méthode

public getMethod ( ) : string
Résultat string

getReturnValue() public méthode

public getReturnValue ( ) : mixed
Résultat mixed

getSpecification() public méthode

public getSpecification ( ) : SpecificationNode
Résultat PhpSpec\Loader\Node\SpecificationNode

getSubject() public méthode

public getSubject ( ) : mixed
Résultat mixed

getSuite() public méthode

public getSuite ( ) : PhpSpec\Loader\Suite
Résultat PhpSpec\Loader\Suite