Свойство | Тип | Описание | |
---|---|---|---|
$api | Github api service class. | ||
$commandDescription | string | Command description. | |
$commandName | string | Command name. | |
$method | string | Method to execute. | |
$parser | Llum rc file parser. |
Метод | Описание | |
---|---|---|
__construct ( |
GithubRepoCommand constructor. | |
configure ( ) | Configure command. | |
getCredentials ( Symfony\Component\Console\Output\OutputInterface $output ) : array | Get credentials. | |
githubCreateRepo ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | Github create repo command. |
Метод | Описание | |
---|---|---|
repoDescription ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string | Obtain repo description. | |
repoName ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string | Obtain repo name. | |
showError ( GuzzleHttp\Exception\ClientException $ce, Symfony\Component\Console\Output\OutputInterface $output ) | Show error. |
public __construct ( |
||
$api | ||
$parser |
public getCredentials ( Symfony\Component\Console\Output\OutputInterface $output ) : array | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
Результат | array |
public githubCreateRepo ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$input | Symfony\Component\Console\Input\InputInterface | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected repoDescription ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string | ||
$input | Symfony\Component\Console\Input\InputInterface | |
Результат | mixed | string |
protected showError ( GuzzleHttp\Exception\ClientException $ce, Symfony\Component\Console\Output\OutputInterface $output ) | ||
$ce | GuzzleHttp\Exception\ClientException | |
$output | Symfony\Component\Console\Output\OutputInterface |
protected GithubAPI,Acacha\Llum\Github $api | ||
Результат |
protected string $commandDescription | ||
Результат | string |