PhpSpec\Event\ExpectationEvent::__construct PHP Method

__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
    public function __construct(ExampleNode $example, Matcher $matcher, $subject, $method, $arguments, $result = null, $exception = null)
    {
        $this->example = $example;
        $this->matcher = $matcher;
        $this->subject = $subject;
        $this->method = $method;
        $this->arguments = $arguments;
        $this->result = $result;
        $this->exception = $exception;
    }