JigInstaller::handle()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 13

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 13
rs 9.8333
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
namespace Savannabits\JetstreamInertiaGenerator\Helpers;
4
5
use Illuminate\Console\Command;
6
class JigInstaller extends Command
7
{
8
    /**
9
     * The name and signature of the console command.
10
     *
11
     * @var string
12
     */
13
    protected $signature = 'jig:install';
14
15
    /**
16
     * The console command description.
17
     *
18
     * @var string
19
     */
20
    protected $description = 'This is an automatic installer for the Jetstream Inertia Generator Package. It will install packages, publish all assets and schedule or run migrations for you.';
21
22
    /**
23
     * Create a new command instance.
24
     *
25
     * @return void
0 ignored issues
show
Comprehensibility Best Practice introduced by
Adding a @return annotation to constructors is generally not recommended as a constructor does not have a meaningful return value.

Adding a @return annotation to a constructor is not recommended, since a constructor does not have a meaningful return value.

Please refer to the PHP core documentation on constructors.

Loading history...
26
     */
27
    public function __construct()
28
    {
29
        parent::__construct();
30
    }
31
32
    /**
33
     * Execute the console command.
34
     *
35
     * @return int
36
     */
37
    public function handle()
38
    {
39
        // Run yarn install,
40
        // Run vendor publish commands
41
        // Add the JigMiddleware to the Kernel
42
        // Publish Sanctum config
43
        // Add sanctum API middleware
44
        // Publish permissions and Roles,
45
        // Run Role Generator
46
        // Run Permission generator
47
        // Run user generator.
48
        return 0;
49
    }
50
}
51