public __construct ( |
||
$example | ||
$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;
}