Kernel (Contracts)
Kernel
interface Kernel (View source)
Methods
int | handle( InputInterface $input, OutputInterface $output = null) Handle an incoming console command. | |
int | call( string $command, array $parameters = array()) Run an Artisan console command by name. | |
int | queue( string $command, array $parameters = array()) 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. |
Details
int handle( InputInterface $input, OutputInterface $output = null)
Handle an incoming console command.
int call( string $command, array $parameters = array())
Run an Artisan console command by name.
int queue( string $command, array $parameters = array())
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.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/5.1/Illuminate/Contracts/Console/Kernel.html