| Total Complexity | 1 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class MakeConsoleTaskerCommand extends Command |
||
| 15 | { |
||
| 16 | use RunsTasks; |
||
| 17 | |||
| 18 | /** |
||
| 19 | * The name and signature of the console command. |
||
| 20 | * |
||
| 21 | * @var string |
||
| 22 | */ |
||
| 23 | protected $signature = 'make:console-tasker |
||
| 24 | {name : The name of the command} |
||
| 25 | {--c|command=command:name : The terminal command that should be assigned} |
||
| 26 | {--t|tasks= : Comma-separated list of tasks to generate}'; |
||
| 27 | |||
| 28 | /** |
||
| 29 | * The console command description. |
||
| 30 | * |
||
| 31 | * @var string |
||
| 32 | */ |
||
| 33 | protected $description = 'Create a new console tasker'; |
||
| 34 | |||
| 35 | /** |
||
| 36 | * Execute the console command. |
||
| 37 | * |
||
| 38 | * @return void |
||
| 39 | */ |
||
| 40 | public function handle() |
||
| 48 |