Свойство | Тип | Описание | |
---|---|---|---|
$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 ( |
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. |
public __construct ( |
||
$app | ||
Результат | void |
protected defineConsoleSchedule ( ) : void | ||
Результат | void |
protected getArtisan ( ) : Illuminate\Console\Application | ||
Результат | Illuminate\Console\Application |
protected getCommands ( ) : array | ||
Результат | array |
protected renderException ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$e | Exception | |
Результат | void |
protected reportException ( Exception $e ) : void | ||
$e | Exception | |
Результат | void |
protected bool $aliases | ||
Результат | boolean |
protected Application,Illuminate\Contracts\Foundation $app | ||
Результат | Illuminate\Contracts\Foundation\Application |
protected Application,Illuminate\Console $artisan | ||
Результат | Illuminate\Console\Application |
protected array $commands | ||
Результат | array |