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; }