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

configureAdditionalListeners() protected method

protected configureAdditionalListeners ( $srcPath )
    protected function configureAdditionalListeners($srcPath)
    {
        $this->dispatcher->addSubscriber(new Listener\ClassNotFoundListener($this->io, $srcPath));
        $this->dispatcher->addSubscriber(new Listener\MethodNotFoundListener($this->io));
    }