Total Complexity | 2 |
Total Lines | 38 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
7 | class RefreshThemeCommand extends BaseCommand |
||
8 | { |
||
9 | /** |
||
10 | * {@inheritDoc} |
||
11 | */ |
||
12 | protected $signature = 'samurai:refresh'; |
||
13 | |||
14 | /** |
||
15 | * {@inheritDoc} |
||
16 | */ |
||
17 | protected $description = 'Refresh cache and view in Laravel Project.'; |
||
18 | |||
19 | /** |
||
20 | * {@inheritDoc} |
||
21 | */ |
||
22 | protected string $successMessage = 'Cache and views are refreshed.'; |
||
23 | |||
24 | /** |
||
25 | * {@inheritDoc} |
||
26 | */ |
||
27 | protected string $errorMessage = 'Error to refresh project: %s'; |
||
28 | |||
29 | /** |
||
30 | * Executa o comando de console |
||
31 | * |
||
32 | * @return mixed |
||
33 | */ |
||
34 | public function handle() |
||
48 |