PHP 클래스 Acacha\Llum\Console\GithubRepoCommand

상속: extends LlumCommand, use trait GithubCommand
파일 보기 프로젝트 열기: acacha/llum

보호된 프로퍼티들

프로퍼티 타입 설명
$api Acacha\Llum\Github\GithubAPI Github api service class.
$commandDescription string Command description.
$commandName string Command name.
$method string Method to execute.
$parser Acacha\Llum\Parser\LlumRCParser Llum rc file parser.

공개 메소드들

메소드 설명
__construct ( GithubAPI $api, LlumRCParser $parser ) 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.

메소드 상세

__construct() 공개 메소드

GithubRepoCommand constructor.
public __construct ( GithubAPI $api, LlumRCParser $parser )
$api Acacha\Llum\Github\GithubAPI
$parser Acacha\Llum\Parser\LlumRCParser

configure() 공개 메소드

Configure command.
public configure ( )

getCredentials() 공개 메소드

Get credentials.
public getCredentials ( Symfony\Component\Console\Output\OutputInterface $output ) : array
$output Symfony\Component\Console\Output\OutputInterface
리턴 array

githubCreateRepo() 공개 메소드

Github create repo command.
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

repoDescription() 보호된 메소드

Obtain repo description.
protected repoDescription ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed | string

repoName() 보호된 메소드

Obtain repo name.
protected repoName ( Symfony\Component\Console\Input\InputInterface $input ) : mixed | string
$input Symfony\Component\Console\Input\InputInterface
리턴 mixed | string

showError() 보호된 메소드

Show error.
protected showError ( GuzzleHttp\Exception\ClientException $ce, Symfony\Component\Console\Output\OutputInterface $output )
$ce GuzzleHttp\Exception\ClientException
$output Symfony\Component\Console\Output\OutputInterface

프로퍼티 상세

$api 보호되어 있는 프로퍼티

Github api service class.
protected GithubAPI,Acacha\Llum\Github $api
리턴 Acacha\Llum\Github\GithubAPI

$commandDescription 보호되어 있는 프로퍼티

Command description.
protected string $commandDescription
리턴 string

$commandName 보호되어 있는 프로퍼티

Command name.
protected string $commandName
리턴 string

$method 보호되어 있는 프로퍼티

Method to execute.
protected string $method
리턴 string

$parser 보호되어 있는 프로퍼티

Llum rc file parser.
protected LlumRCParser,Acacha\Llum\Parser $parser
리턴 Acacha\Llum\Parser\LlumRCParser