| 1 | <?php namespace App\Console\Commands; |
||
| 7 | class Generic extends BaseCommand { |
||
| 8 | |||
| 9 | /** |
||
| 10 | * The console command name. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $name = 'generic'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The console command description. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $description = 'Helper for running a Model\s method from an artisan command.'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Create a new command instance. |
||
| 25 | */ |
||
| 26 | public function __construct() |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Execute the console command. |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function fire() |
||
| 43 | |||
| 44 | /** |
||
| 45 | * Get the console command arguments. |
||
| 46 | * |
||
| 47 | * @return array |
||
| 48 | */ |
||
| 49 | protected function getArguments() |
||
| 57 | |||
| 58 | /** |
||
| 59 | * Get the console command options. |
||
| 60 | * |
||
| 61 | * @return array |
||
| 62 | */ |
||
| 63 | protected function getOptions() |
||
| 68 | |||
| 69 | } |
||
| 70 |