Eloquent\Phony\Stub\StubFactory::__construct PHP Method

__construct() public method

Construct a new stub factory.
public __construct ( Sequencer $labelSequencer, MatcherFactory $matcherFactory, MatcherVerifier $matcherVerifier, Invoker $invoker, InvocableInspector $invocableInspector, EmptyValueFactory $emptyValueFactory, GeneratorAnswerBuilderFactory $generatorAnswerBuilderFactory )
$labelSequencer Eloquent\Phony\Sequencer\Sequencer The label sequencer to use.
$matcherFactory Eloquent\Phony\Matcher\MatcherFactory The matcher factory to use.
$matcherVerifier Eloquent\Phony\Matcher\MatcherVerifier The matcher verifier to use.
$invoker Eloquent\Phony\Invocation\Invoker The invoker to use.
$invocableInspector Eloquent\Phony\Invocation\InvocableInspector The invocable inspector to use.
$emptyValueFactory EmptyValueFactory The empty value factory to use.
$generatorAnswerBuilderFactory Eloquent\Phony\Stub\Answer\Builder\GeneratorAnswerBuilderFactory The generator answer builder factory to use.
    public function __construct(Sequencer $labelSequencer, MatcherFactory $matcherFactory, MatcherVerifier $matcherVerifier, Invoker $invoker, InvocableInspector $invocableInspector, EmptyValueFactory $emptyValueFactory, GeneratorAnswerBuilderFactory $generatorAnswerBuilderFactory)
    {
        $this->labelSequencer = $labelSequencer;
        $this->matcherFactory = $matcherFactory;
        $this->matcherVerifier = $matcherVerifier;
        $this->invoker = $invoker;
        $this->invocableInspector = $invocableInspector;
        $this->emptyValueFactory = $emptyValueFactory;
        $this->generatorAnswerBuilderFactory = $generatorAnswerBuilderFactory;
    }