Total Complexity | 2 |
Total Lines | 48 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
11 | class MakeCommand extends Command |
||
12 | { |
||
13 | /** |
||
14 | * The console command name. |
||
15 | * |
||
16 | * @var string |
||
17 | */ |
||
18 | protected $name = 'lgp:make {package?}'; |
||
19 | |||
20 | /** |
||
21 | * The console command description. |
||
22 | * |
||
23 | * @var string |
||
24 | */ |
||
25 | protected $description = 'Generator the composer package from config file laravel-generator-package'; |
||
26 | |||
27 | /** |
||
28 | * The console command signature. |
||
29 | * |
||
30 | * @var string |
||
31 | */ |
||
32 | protected $signature = 'lgp:make {package?}'; |
||
33 | |||
34 | /** |
||
35 | * @var Composer |
||
36 | */ |
||
37 | public Composer $composer; |
||
38 | |||
39 | /** |
||
40 | * Create a new command instance. |
||
41 | */ |
||
42 | 2 | public function __construct() |
|
45 | 2 | } |
|
46 | |||
47 | /** |
||
48 | * Execute the command. |
||
49 | * |
||
50 | * @return mixed |
||
51 | */ |
||
52 | 2 | public function handle() |
|
61 |