Eloquent\Phony\Verification\GeneratorVerifier::__construct PHP Метод

__construct() публичный Метод

Construct a new generator verifier.
public __construct ( Eloquent\Phony\Spy\Spy | Eloquent\Phony\Call\Call $subject, array $calls, MatcherFactory $matcherFactory, CallVerifierFactory $callVerifierFactory, Eloquent\Phony\Assertion\AssertionRecorder $assertionRecorder, AssertionRenderer $assertionRenderer )
$subject Eloquent\Phony\Spy\Spy | Eloquent\Phony\Call\Call The subject.
$calls array
$matcherFactory Eloquent\Phony\Matcher\MatcherFactory The matcher factory to use.
$callVerifierFactory Eloquent\Phony\Call\CallVerifierFactory The call verifier factory to use.
$assertionRecorder Eloquent\Phony\Assertion\AssertionRecorder The assertion recorder to use.
$assertionRenderer Eloquent\Phony\Assertion\AssertionRenderer The assertion renderer to use.
    public function __construct($subject, array $calls, MatcherFactory $matcherFactory, CallVerifierFactory $callVerifierFactory, AssertionRecorder $assertionRecorder, AssertionRenderer $assertionRenderer)
    {
        parent::__construct($subject, $calls, $matcherFactory, $callVerifierFactory, $assertionRecorder, $assertionRenderer);
        $this->isGenerator = true;
    }