| 1 | <?php |
||
| 11 | class ConfigMakeCommand extends GeneratorCommand |
||
| 12 | { |
||
| 13 | use ConfirmableTrait; |
||
| 14 | use ConsoleMakeModuleCommand; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The console command name. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $name = 'make:config'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The console command description. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $description = 'Create a new config file'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The type of class being generated. |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $type = 'Config'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * Get the stub file for the generator. |
||
| 39 | * |
||
| 40 | * @return string |
||
| 41 | */ |
||
| 42 | protected function getStub(): string |
||
| 46 | |||
| 47 | /** |
||
| 48 | * Get the destination class path. |
||
| 49 | * |
||
| 50 | * @param string $name |
||
| 51 | * |
||
| 52 | * @throws \Exception |
||
| 53 | * |
||
| 54 | * @return string |
||
| 55 | */ |
||
| 56 | protected function getPath($name): string |
||
| 66 | } |
||
| 67 |
This function has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the function will be removed from the class and what other function to use instead.