These results are based on our legacy PHP analysis, consider migrating to our new PHP analysis engine instead. Learn more
1 | <?php namespace Bantenporv\MasterTarif\Console\Commands; |
||
2 | |||
3 | use Illuminate\Console\Command; |
||
4 | |||
5 | /** |
||
6 | * The MasterTarifCommand class. |
||
7 | * |
||
8 | * @package Bantenporv\MasterTarif |
||
9 | * @author bantenprov <[email protected]> |
||
10 | */ |
||
11 | class MasterTarifCommand extends Command |
||
12 | { |
||
13 | |||
14 | /** |
||
15 | * The name and signature of the console command. |
||
16 | * |
||
17 | * @var string |
||
18 | */ |
||
19 | protected $signature = 'bantenporv:master-tarif'; |
||
20 | |||
21 | /** |
||
22 | * The console command description. |
||
23 | * |
||
24 | * @var string |
||
25 | */ |
||
26 | protected $description = 'Demo command for Bantenporv\MasterTarif package'; |
||
27 | |||
28 | /** |
||
29 | * Create a new command instance. |
||
30 | * |
||
31 | * @return void |
||
0 ignored issues
–
show
|
|||
32 | */ |
||
33 | public function __construct() |
||
34 | { |
||
35 | parent::__construct(); |
||
36 | } |
||
37 | |||
38 | /** |
||
39 | * Execute the console command. |
||
40 | * |
||
41 | * @return mixed |
||
42 | */ |
||
43 | public function handle() |
||
44 | { |
||
45 | $this->info('Welcome to command for Bantenporv\MasterTarif package'); |
||
46 | } |
||
47 | } |
||
48 |
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.