PHPSpec2\Console\Command\RunCommand::createRunner PHP Method

createRunner() protected method

protected createRunner ( MatchersCollection $matchers, PHPSpec2\Mocker\MockerInterface $mocker, ArgumentsUnwrapper $unwrapper )
$matchers PHPSpec2\Matcher\MatchersCollection
$mocker PHPSpec2\Mocker\MockerInterface
$unwrapper PHPSpec2\Wrapper\ArgumentsUnwrapper
    protected function createRunner(Matcher\MatchersCollection $matchers, Mocker\MockerInterface $mocker, ArgumentsUnwrapper $unwrapper)
    {
        return new Runner\Runner($this->dispatcher, $matchers, $mocker, $unwrapper);
    }