Свойство | Type | Description | |
---|---|---|---|
$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. |
Méthode | Description | |
---|---|---|
__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. |
Méthode | Description | |
---|---|---|
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 | ||
Résultat | void |
protected defineConsoleSchedule ( ) : void | ||
Résultat | void |
protected getArtisan ( ) : Illuminate\Console\Application | ||
Résultat | Illuminate\Console\Application |
protected getCommands ( ) : array | ||
Résultat | array |
protected renderException ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$e | Exception | |
Résultat | void |
protected reportException ( Exception $e ) : void | ||
$e | Exception | |
Résultat | void |
protected bool $aliases | ||
Résultat | boolean |
protected Application,Illuminate\Contracts\Foundation $app | ||
Résultat | Illuminate\Contracts\Foundation\Application |
protected Application,Illuminate\Console $artisan | ||
Résultat | Illuminate\Console\Application |
protected array $commands | ||
Résultat | array |