Property | 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. |
Method | 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. |
Method | 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 | ||
return | void |
protected defineConsoleSchedule ( ) : void | ||
return | void |
protected getArtisan ( ) : Illuminate\Console\Application | ||
return | Illuminate\Console\Application |
protected getCommands ( ) : array | ||
return | array |
protected renderException ( Symfony\Component\Console\Output\OutputInterface $output, Exception $e ) : void | ||
$output | Symfony\Component\Console\Output\OutputInterface | |
$e | Exception | |
return | void |
protected reportException ( Exception $e ) : void | ||
$e | Exception | |
return | void |
protected bool $aliases | ||
return | boolean |
protected Application,Illuminate\Contracts\Foundation $app | ||
return | Illuminate\Contracts\Foundation\Application |
protected Application,Illuminate\Console $artisan | ||
return | Illuminate\Console\Application |
protected array $commands | ||
return | array |