Permalink
Cannot retrieve contributors at this time
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
64 lines (56 sloc)
1.51 KB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace Illuminate\Contracts\Console; | |
interface Kernel | |
{ | |
/** | |
* Bootstrap the application for artisan commands. | |
* | |
* @return void | |
*/ | |
public function bootstrap(); | |
/** | |
* Handle an incoming console command. | |
* | |
* @param \Symfony\Component\Console\Input\InputInterface $input | |
* @param \Symfony\Component\Console\Output\OutputInterface|null $output | |
* @return int | |
*/ | |
public function handle($input, $output = null); | |
/** | |
* Run an Artisan console command by name. | |
* | |
* @param string $command | |
* @param array $parameters | |
* @param \Symfony\Component\Console\Output\OutputInterface|null $outputBuffer | |
* @return int | |
*/ | |
public function call($command, array $parameters = [], $outputBuffer = null); | |
/** | |
* Queue an Artisan console command by name. | |
* | |
* @param string $command | |
* @param array $parameters | |
* @return \Illuminate\Foundation\Bus\PendingDispatch | |
*/ | |
public function queue($command, array $parameters = []); | |
/** | |
* Get all of the commands registered with the console. | |
* | |
* @return array | |
*/ | |
public function all(); | |
/** | |
* Get the output for the last run command. | |
* | |
* @return string | |
*/ | |
public function output(); | |
/** | |
* Terminate the application. | |
* | |
* @param \Symfony\Component\Console\Input\InputInterface $input | |
* @param int $status | |
* @return void | |
*/ | |
public function terminate($input, $status); | |
} |