| 1 | <?php |
||
| 9 | class ServeCommand extends Command |
||
| 10 | { |
||
| 11 | /** |
||
| 12 | * The console command name. |
||
| 13 | * |
||
| 14 | * @var string |
||
| 15 | */ |
||
| 16 | protected $name = 'serve'; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The console command description. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $description = 'Serve the application on the PHP development server'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * Execute the console command. |
||
| 27 | * |
||
| 28 | * @throws \Exception |
||
| 29 | * |
||
| 30 | * @return void |
||
| 31 | */ |
||
| 32 | public function fire() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Get the console command options. |
||
| 49 | * |
||
| 50 | * @return array |
||
| 51 | */ |
||
| 52 | protected function getOptions() |
||
| 60 | } |
||
| 61 |