| Total Complexity | 0 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 5 | class MakeCapsule extends ModuleMake |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * The name and signature of the console command. |
||
| 9 | * |
||
| 10 | * @var string |
||
| 11 | */ |
||
| 12 | protected $signature = 'twill:make:capsule {moduleName} |
||
| 13 | {--B|hasBlocks} |
||
| 14 | {--T|hasTranslation} |
||
| 15 | {--S|hasSlug} |
||
| 16 | {--M|hasMedias} |
||
| 17 | {--F|hasFiles} |
||
| 18 | {--P|hasPosition} |
||
| 19 | {--R|hasRevisions} |
||
| 20 | {--all} |
||
| 21 | {--force}'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * The console command description. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | |||
| 29 | protected $description = 'Create a new Twill Capsule'; |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @var bool |
||
| 33 | */ |
||
| 34 | protected $isCapsule = true; |
||
| 35 | } |
||
| 36 |