Kernel
in
Table of Contents
- all() : array<string|int, mixed>
- Get all of the commands registered with the console.
- call() : int
- Run an Artisan console command by name.
- handle() : int
- Handle an incoming console command.
- output() : string
- Get the output for the last run command.
- queue() : PendingDispatch
- Queue an Artisan console command by name.
Methods
all()
Get all of the commands registered with the console.
public
all() : array<string|int, mixed>
Return values
array<string|int, mixed> —call()
Run an Artisan console command by name.
public
call(string $command[, array<string|int, mixed> $parameters = [] ]) : int
Parameters
- $command : string
- $parameters : array<string|int, mixed> = []
Return values
int —handle()
Handle an incoming console command.
public
handle(InputInterface $input[, OutputInterface $output = null ]) : int
Parameters
- $input : InputInterface
- $output : OutputInterface = null
Return values
int —output()
Get the output for the last run command.
public
output() : string
Return values
string —queue()
Queue an Artisan console command by name.
public
queue(string $command[, array<string|int, mixed> $parameters = [] ]) : PendingDispatch
Parameters
- $command : string
- $parameters : array<string|int, mixed> = []