| Total Complexity | 2 |
| Total Lines | 42 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 8 | class MakeThemeCommand extends BaseCommand |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritDoc} |
||
| 12 | */ |
||
| 13 | protected $signature = 'samurai:make-theme {name}'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | protected $description = 'Create a new theme.'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritDoc} |
||
| 22 | */ |
||
| 23 | protected string $successMessage = 'Theme [%s] created successful.'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritDoc} |
||
| 27 | */ |
||
| 28 | protected string $errorMessage = 'Error to create theme: %s'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Executa o comando de console para criação |
||
| 32 | * |
||
| 33 | * @return mixed |
||
| 34 | */ |
||
| 35 | public function handle() |
||
| 53 |