| Total Complexity | 1 |
| Total Lines | 36 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 7 | class ModuleMakeDeprecated extends Command |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * The name and signature of the console command. |
||
| 11 | * |
||
| 12 | * @var string |
||
| 13 | */ |
||
| 14 | protected $signature = 'twill:module {moduleName} |
||
| 15 | {--B|hasBlocks} |
||
| 16 | {--T|hasTranslation} |
||
| 17 | {--S|hasSlug} |
||
| 18 | {--M|hasMedias} |
||
| 19 | {--F|hasFiles} |
||
| 20 | {--P|hasPosition} |
||
| 21 | {--R|hasRevisions} |
||
| 22 | {--all}'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The console command description. |
||
| 26 | * |
||
| 27 | * @var string |
||
| 28 | */ |
||
| 29 | protected $description = 'Create a new Twill Module (deprecated, use twill:make:module)'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * Executes the console command. |
||
| 33 | * |
||
| 34 | * @return mixed |
||
| 35 | */ |
||
| 36 | public function handle() |
||
| 45 |