PHP Class PhpSpec\Event\ExpectationEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event, implements EventInterface
Afficher le fichier Open project: phpspec/phpspec

Méthodes publiques

Méthode Description
__construct ( ExampleNode $example, PhpSpec\Matcher\Matcher $matcher, mixed $subject, string $method, array $arguments, integer $result = null, Exception $exception = null )
getArguments ( ) : array
getExample ( ) : ExampleNode
getException ( ) : Exception
getMatcher ( ) : PhpSpec\Matcher\Matcher
getMethod ( ) : string
getResult ( ) : integer
getSpecification ( ) : SpecificationNode
getSubject ( ) : mixed
getSuite ( ) : PhpSpec\Loader\Suite

Method Details

__construct() public méthode

public __construct ( ExampleNode $example, PhpSpec\Matcher\Matcher $matcher, mixed $subject, string $method, array $arguments, integer $result = null, Exception $exception = null )
$example PhpSpec\Loader\Node\ExampleNode
$matcher PhpSpec\Matcher\Matcher
$subject mixed
$method string
$arguments array
$result integer
$exception Exception

getArguments() public méthode

public getArguments ( ) : array
Résultat array

getExample() public méthode

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

getException() public méthode

public getException ( ) : Exception
Résultat Exception

getMatcher() public méthode

public getMatcher ( ) : PhpSpec\Matcher\Matcher
Résultat PhpSpec\Matcher\Matcher

getMethod() public méthode

public getMethod ( ) : string
Résultat string

getResult() public méthode

public getResult ( ) : integer
Résultat integer

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