Gush\Subscriber\GitRepoSubscriber::validateAdaptersConfig PHP Метод

validateAdaptersConfig() приватный Метод

private validateAdaptersConfig ( Symfony\Component\Console\Input\InputInterface $input )
$input Symfony\Component\Console\Input\InputInterface
    private function validateAdaptersConfig(InputInterface $input)
    {
        $repositoryManager = $input->getOption('repo-adapter');
        $errors = [];
        $this->checkAdapterConfigured($repositoryManager, 'repository-management', AdapterFactory::SUPPORT_REPOSITORY_MANAGER, $errors);
        if ($input->hasOption('issue-adapter')) {
            $issueTracker = $input->getOption('issue-adapter');
            $this->checkAdapterConfigured($issueTracker, 'issue-tracking', AdapterFactory::SUPPORT_ISSUE_TRACKER, $errors);
        }
        if ($errors) {
            $errors[] = 'Please run the "core:configure" command.';
            throw new UserException($errors);
        }
    }