We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
1 | <?php |
||
2 | |||
3 | namespace Backpack\CRUD\app\Console\Commands\Themes; |
||
4 | |||
5 | use Illuminate\Console\Command; |
||
6 | |||
7 | class RequireThemeCoreuiv4 extends Command |
||
8 | { |
||
9 | use InstallsTheme; |
||
0 ignored issues
–
show
introduced
by
Loading history...
|
|||
10 | |||
11 | /** |
||
12 | * The name and signature of the console command. |
||
13 | * |
||
14 | * @var string |
||
15 | */ |
||
16 | protected $signature = 'backpack:require:theme-coreuiv4 |
||
17 | {--debug} : Show process output or not. Useful for debugging.'; |
||
18 | |||
19 | /** |
||
20 | * The console command description. |
||
21 | * |
||
22 | * @var string |
||
23 | */ |
||
24 | protected $description = 'Install the CoreUIv4 theme'; |
||
25 | |||
26 | /** |
||
27 | * Backpack addons install attribute. |
||
28 | * |
||
29 | * @var array |
||
30 | */ |
||
31 | public static $addon = [ |
||
32 | 'name' => 'CoreUIv4', |
||
33 | 'description' => [ |
||
34 | 'UI provided by CoreUIv4, a Boostrap 5 template.', |
||
35 | '<fg=blue>https://github.com/laravel-backpack/theme-coreuiv4/</>', |
||
36 | ], |
||
37 | 'repo' => 'backpack/theme-coreuiv4', |
||
38 | 'path' => 'vendor/backpack/theme-coreuiv4', |
||
39 | 'command' => 'backpack:require:theme-coreuiv4', |
||
40 | 'view_namespace' => 'backpack.theme-coreuiv4::', |
||
41 | 'publish_tag' => 'theme-coreuiv4-config', |
||
42 | 'provider' => '\Backpack\ThemeCoreuiv4\AddonServiceProvider', |
||
43 | ]; |
||
44 | |||
45 | /** |
||
46 | * Execute the console command. |
||
47 | * |
||
48 | * @return mixed Command-line output |
||
49 | */ |
||
50 | public function handle() |
||
51 | { |
||
52 | $this->installTheme(); |
||
53 | } |
||
54 | } |
||
55 |