Kernel (Foundation)
Kernel
class Kernel implements Kernel (View source)
Methods
void | __construct( Application $app, Dispatcher $events) Create a new console kernel instance. | |
int | handle( InputInterface $input, OutputInterface $output = null) Run the console application. | |
void | terminate( InputInterface $input, int $status) Terminate the application. | |
int | call( string $command, array $parameters = array()) Run an Artisan console command by name. | |
int | queue( string $command, array $parameters = array()) Queue the given console command. | |
array | all() Get all of the commands registered with the console. | |
string | output() Get the output for the last run command. | |
void | bootstrap() Bootstrap the application for artisan commands. |
Details
void __construct( Application $app, Dispatcher $events)
Create a new console kernel instance.
int handle( InputInterface $input, OutputInterface $output = null)
Run the console application.
void terminate( InputInterface $input, int $status)
Terminate the application.
int call( string $command, array $parameters = array())
Run an Artisan console command by name.
int queue( string $command, array $parameters = array())
Queue the given console command.
array all()
Get all of the commands registered with the console.
string output()
Get the output for the last run command.
void bootstrap()
Bootstrap the application for artisan commands.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Foundation/Console/Kernel.html