PhpSpec\Event\ExampleEvent::__construct PHP Method

__construct() public method

public __construct ( ExampleNode $example, float | null $time = null, integer | null $result = null, Exception $exception = null )
$example PhpSpec\Loader\Node\ExampleNode
$time float | null
$result integer | null
$exception Exception
    public function __construct(ExampleNode $example, $time = null, $result = null, \Exception $exception = null)
    {
        $this->example = $example;
        $this->time = $time;
        $this->result = $result;
        $this->exception = $exception;
    }