| 1 | <?php | ||
| 17 | class JobMakeCommand extends GeneratorCommand | ||
| 18 | { | ||
| 19 | /** | ||
| 20 | * The console command name. | ||
| 21 | * | ||
| 22 | * @var string | ||
| 23 | */ | ||
| 24 | protected $name = 'make:async-job'; | ||
| 25 | |||
| 26 | /** | ||
| 27 | * The console command description. | ||
| 28 | * | ||
| 29 | * @var string | ||
| 30 | */ | ||
| 31 | protected $description = 'Create a new async job class'; | ||
| 32 | |||
| 33 | /** | ||
| 34 | * The type of class being generated. | ||
| 35 | * | ||
| 36 | * @var string | ||
| 37 | */ | ||
| 38 | protected $type = 'Async job'; | ||
| 39 | |||
| 40 | /** | ||
| 41 | * Get the stub file for the generator. | ||
| 42 | * | ||
| 43 | * @return string | ||
| 44 | */ | ||
| 45 | protected function getStub() | ||
| 49 | |||
| 50 | /** | ||
| 51 | * Get the default namespace for the class. | ||
| 52 | * | ||
| 53 | * @param string $rootNamespace | ||
| 54 | * @return string | ||
| 55 | */ | ||
| 56 | protected function getDefaultNamespace($rootNamespace) | ||
| 60 | } | ||
| 61 |