interface Kernel (View source)

Methods

void
bootstrap()

Bootstrap the application for artisan commands.

int
handle(InputInterface $input, OutputInterface|null $output = null)

Handle an incoming console command.

int
call(string $command, array $parameters = [], OutputInterface|null $outputBuffer = null)

Run an Artisan console command by name.

queue(string $command, array $parameters = [])

Queue an Artisan console command by name.

array
all()

Get all of the commands registered with the console.

string
output()

Get the output for the last run command.

void
terminate(InputInterface $input, int $status)

Terminate the application.

Details

void bootstrap()

Bootstrap the application for artisan commands.

Return Value

void

int handle(InputInterface $input, OutputInterface|null $output = null)

Handle an incoming console command.

Parameters

InputInterface $input
OutputInterface|null $output

Return Value

int

int call(string $command, array $parameters = [], OutputInterface|null $outputBuffer = null)

Run an Artisan console command by name.

Parameters

string $command
array $parameters
OutputInterface|null $outputBuffer

Return Value

int

PendingDispatch queue(string $command, array $parameters = [])

Queue an Artisan console command by name.

Parameters

string $command
array $parameters

Return Value

PendingDispatch

array all()

Get all of the commands registered with the console.

Return Value

array

string output()

Get the output for the last run command.

Return Value

string

void terminate(InputInterface $input, int $status)

Terminate the application.

Parameters

InputInterface $input
int $status

Return Value

void