PHP Class PhpSpec\Event\ExpectationEvent

Inheritance: extends Symfony\Component\EventDispatcher\Event, implements EventInterface
Show file Open project: phpspec/phpspec

Public Methods

Method 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 method

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 method

public getArguments ( ) : array
return array

getExample() public method

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

getException() public method

public getException ( ) : Exception
return Exception

getMatcher() public method

public getMatcher ( ) : PhpSpec\Matcher\Matcher
return PhpSpec\Matcher\Matcher

getMethod() public method

public getMethod ( ) : string
return string

getResult() public method

public getResult ( ) : integer
return integer

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