PHP 클래스 Laravel\Lumen\Console\Kernel

상속: implements Illuminate\Contracts\Console\Kernel
파일 보기 프로젝트 열기: laravel/lumen-framework 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$aliases boolean Indicates if facade aliases are enabled for the console.
$app Illuminate\Contracts\Foundation\Application The application implementation.
$artisan Illuminate\Console\Application The Artisan application instance.
$commands array The Artisan commands provided by the application.

공개 메소드들

메소드 설명
__construct ( Application $app ) : void Create a new console kernel instance.
all ( ) : array Get all of the commands registered with the console.
call ( string $command, array $parameters = [] ) : integer Run an Artisan console command by name.
handle ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer Run the console application.
output ( ) : string Get the output for the last run command.
queue ( string $command, array $parameters = [] ) : void Queue the given console command.

보호된 메소드들

메소드 설명
defineConsoleSchedule ( ) : void Define the application's command schedule.
getArtisan ( ) : Illuminate\Console\Application Get the Artisan application instance.
getCommands ( ) : array Get the commands to add to the application.
renderException ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void Report the exception to the exception handler.
reportException ( Exception $e ) : void Report the exception to the exception handler.
schedule ( Illuminate\Console\Scheduling\Schedule $schedule ) : void Define the application's command schedule.

메소드 상세

__construct() 공개 메소드

Create a new console kernel instance.
public __construct ( Application $app ) : void
$app Laravel\Lumen\Application
리턴 void

all() 공개 메소드

Get all of the commands registered with the console.
public all ( ) : array
리턴 array

call() 공개 메소드

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

defineConsoleSchedule() 보호된 메소드

Define the application's command schedule.
protected defineConsoleSchedule ( ) : void
리턴 void

getArtisan() 보호된 메소드

Get the Artisan application instance.
protected getArtisan ( ) : Illuminate\Console\Application
리턴 Illuminate\Console\Application

getCommands() 보호된 메소드

Get the commands to add to the application.
protected getCommands ( ) : array
리턴 array

handle() 공개 메소드

Run the console application.
public handle ( Symfony\Component\Console\Input\InputInterface $input, Symfony\Component\Console\Output\OutputInterface $output = null ) : integer
$input Symfony\Component\Console\Input\InputInterface
$output Symfony\Component\Console\Output\OutputInterface
리턴 integer

output() 공개 메소드

Get the output for the last run command.
public output ( ) : string
리턴 string

queue() 공개 메소드

Queue the given console command.
public queue ( string $command, array $parameters = [] ) : void
$command string
$parameters array
리턴 void

renderException() 보호된 메소드

Report the exception to the exception handler.
protected renderException ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void
$output Symfony\Component\Console\Output\OutputInterface
$e Exception
리턴 void

reportException() 보호된 메소드

Report the exception to the exception handler.
protected reportException ( Exception $e ) : void
$e Exception
리턴 void

schedule() 보호된 메소드

Define the application's command schedule.
protected schedule ( Illuminate\Console\Scheduling\Schedule $schedule ) : void
$schedule Illuminate\Console\Scheduling\Schedule
리턴 void

프로퍼티 상세

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

Indicates if facade aliases are enabled for the console.
protected bool $aliases
리턴 boolean

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

The application implementation.
protected Application,Illuminate\Contracts\Foundation $app
리턴 Illuminate\Contracts\Foundation\Application

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

The Artisan application instance.
protected Application,Illuminate\Console $artisan
리턴 Illuminate\Console\Application

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

The Artisan commands provided by the application.
protected array $commands
리턴 array