Acacha\Llum\Console\GithubInitCommand::getGithubUserNameFromConfig PHP Method

getGithubUserNameFromConfig() protected method

Get github username from llum config.
protected getGithubUserNameFromConfig ( Symfony\Component\Console\Output\OutputInterface $output ) : array
$output Symfony\Component\Console\Output\OutputInterface
return array
    protected function getGithubUserNameFromConfig(OutputInterface $output)
    {
        $username = $this->parser->getGitHubUsername();
        if (is_null($username)) {
            $this->showErrorRunLlumInitFirst($output, 'username');
        }
        return $username;
    }