| Total Complexity | 1 |
| Total Lines | 49 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class ServiceContractMakeCommand extends ClassGeneratorCommand |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The console command name. |
||
| 12 | * |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $name = 'larapi:make:service-contract'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The console command description. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $description = 'Create a new service contract for the specified service'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The name of the generated resource. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $generatorName = 'service_contract'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * The stub name. |
||
| 33 | * |
||
| 34 | * @var string |
||
| 35 | */ |
||
| 36 | protected $stub = 'service-contract.stub'; |
||
| 37 | |||
| 38 | /** |
||
| 39 | * The file path. |
||
| 40 | * |
||
| 41 | * @var string |
||
| 42 | */ |
||
| 43 | protected $filePath = '/Contracts'; |
||
| 44 | |||
| 45 | /** |
||
| 46 | * The event that will fire when the file is created. |
||
| 47 | * |
||
| 48 | * @var string |
||
| 49 | */ |
||
| 50 | protected $event = ServiceContractGeneratedEvent::class; |
||
| 51 | |||
| 52 | protected function stubOptions(): array |
||
| 60 |