| Total Complexity | 1 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 7 | class SeederMakeCommand extends AbstractGeneratorCommand |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The console command name. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $name = 'larapi:make:seeder'; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * The console command description. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $description = 'Generate new seeder for the specified module.'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The name of the generated resource. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $generatorName = 'seeder'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * The stub name. |
||
| 32 | * |
||
| 33 | * @var string |
||
| 34 | */ |
||
| 35 | protected $stub = 'seeder.stub'; |
||
| 36 | |||
| 37 | /** |
||
| 38 | * The file path. |
||
| 39 | * |
||
| 40 | * @var string |
||
| 41 | */ |
||
| 42 | protected $filePath = '/Database/Seeders'; |
||
| 43 | |||
| 44 | protected function stubOptions(): array |
||
| 52 |