PHP 클래스 Recca0120\Terminal\Application

상속: extends Illuminate\Console\Application
파일 보기 프로젝트 열기: recca0120/laravel-terminal 1 사용 예제들

공개 메소드들

메소드 설명
add ( Command $command ) : Command Add a command to the console.
call ( string $command, array $parameters = [] ) : integer Run an Artisan console command by name.
resolveCommands ( array | mixed $commands ) Resolve an array of commands through the application.
run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer Runs the current application.

비공개 메소드들

메소드 설명
getBufferedOutput ( ) : Symfony\Component\Console\Output\BufferedOutput getBufferedOutput.
isAjax ( ) : boolean isAjax.
isFromArtisanStartingEvent ( ) : boolean isFromArtisanStartingEvent.

메소드 상세

add() 공개 메소드

Add a command to the console.
public add ( Command $command ) : Command
$command Symfony\Component\Console\Command\Command
리턴 Symfony\Component\Console\Command\Command

call() 공개 메소드

Run an Artisan console command by name.
public call ( string $command, array $parameters = [] ) : integer
$command string
$parameters array
리턴 integer

resolveCommands() 공개 메소드

Resolve an array of commands through the application.
public resolveCommands ( array | mixed $commands )
$commands array | mixed

run() 공개 메소드

Runs the current application.
public run ( Symfony\Component\Console\Input\InputInterface $input = null, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer
$input Symfony\Component\Console\Input\InputInterface An Input instance
$output Symfony\Component\Console\Output\OutputInterface An Output instance
리턴 integer 0 if everything went fine, or an error code