PHP 클래스 Acacha\Llum\Console\InitCommand

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

보호된 프로퍼티들

프로퍼티 타입 설명
$api Acacha\Llum\Github\GithubAPI Github api service class.
$commandDescription string Command description.
$commandName string Command name.
$compiler Acacha\Llum\Compiler\RCFileCompiler Compiler for llumrc file.
$filesytem Acacha\Llum\Filesystem\Filesystem Filesystem.
$github_token string Github token.
$github_username Github username
$method string Method to execute.

공개 메소드들

메소드 설명
__construct ( Filesystem $filesytem, RCFileCompiler $compiler, GithubAPI $api ) InitCommand constructor.
askGithubToken ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
askGithubUsername ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
init ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) init command.

보호된 메소드들

메소드 설명
askGithubPassword ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed
defaultUsername ( ) : string
executeWizard ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) Executes wizard.
getStubPath ( ) : string Get path to stub.

메소드 상세

__construct() 공개 메소드

InitCommand constructor.
public __construct ( Filesystem $filesytem, RCFileCompiler $compiler, GithubAPI $api )
$filesytem Acacha\Llum\Filesystem\Filesystem
$compiler Acacha\Llum\Compiler\RCFileCompiler
$api Acacha\Llum\Github\GithubAPI

askGithubPassword() 보호된 메소드

protected askGithubPassword ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output ) : mixed
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
리턴 mixed

askGithubToken() 공개 메소드

public askGithubToken ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

askGithubUsername() 공개 메소드

public askGithubUsername ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

defaultUsername() 보호된 메소드

protected defaultUsername ( ) : string
리턴 string

executeWizard() 보호된 메소드

Executes wizard.
protected executeWizard ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface

getStubPath() 보호된 메소드

Get path to stub.
protected getStubPath ( ) : string
리턴 string

init() 공개 메소드

init command.
public init ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output )
$input Symfony\Component\Console\Input\InputInterface
$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

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

Compiler for llumrc file.
protected RCFileCompiler,Acacha\Llum\Compiler $compiler
리턴 Acacha\Llum\Compiler\RCFileCompiler

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

Filesystem.
protected Filesystem,Acacha\Llum\Filesystem $filesytem
리턴 Acacha\Llum\Filesystem\Filesystem

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

Github token.
protected string $github_token
리턴 string

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

Github username
protected $github_username

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

Method to execute.
protected string $method
리턴 string