| Total Complexity | 2 |
| Total Lines | 41 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class UseThemeCommand extends BaseCommand |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * {@inheritDoc} |
||
| 12 | */ |
||
| 13 | protected $signature = 'samurai:use {theme}'; |
||
| 14 | |||
| 15 | /** |
||
| 16 | * {@inheritDoc} |
||
| 17 | */ |
||
| 18 | protected $description = 'Refresh cache and view in Laravel Project.'; |
||
| 19 | |||
| 20 | /** |
||
| 21 | * {@inheritDoc} |
||
| 22 | */ |
||
| 23 | protected string $successMessage = 'Theme [%s] is current and ready to use.'; |
||
| 24 | |||
| 25 | /** |
||
| 26 | * {@inheritDoc} |
||
| 27 | */ |
||
| 28 | protected string $errorMessage = 'Error to refresh project: %s'; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Executa o comando para publicação de assets do tema |
||
| 32 | * |
||
| 33 | * @return void |
||
| 34 | */ |
||
| 35 | public function handle() |
||
| 52 |