| 1 | <?php  | 
            ||
| 8 | class ReportCommand extends Command  | 
            ||
| 9 | { | 
            ||
| 10 | /**  | 
            ||
| 11 | * The name and signature of the console command.  | 
            ||
| 12 | *  | 
            ||
| 13 | * @var string  | 
            ||
| 14 | */  | 
            ||
| 15 | protected $signature = 'ab:report';  | 
            ||
| 16 | |||
| 17 | /**  | 
            ||
| 18 | * The console command description.  | 
            ||
| 19 | *  | 
            ||
| 20 | * @var string  | 
            ||
| 21 | */  | 
            ||
| 22 | protected $description = 'Shows a table with experiment and goal insights';  | 
            ||
| 23 | |||
| 24 | /**  | 
            ||
| 25 | * Create a new command instance.  | 
            ||
| 26 | *  | 
            ||
| 27 | * @return void  | 
            ||
| 
                                                                                                    
                        
                         | 
                |||
| 28 | */  | 
            ||
| 29 | 51 | public function __construct()  | 
            |
| 33 | |||
| 34 | /**  | 
            ||
| 35 | * Execute the console command.  | 
            ||
| 36 | *  | 
            ||
| 37 | * @return mixed  | 
            ||
| 38 | */  | 
            ||
| 39 | 3 | public function handle()  | 
            |
| 46 | |||
| 47 | 3 | public function prepareHeader()  | 
            |
| 58 | |||
| 59 | 3 | public function prepareBody()  | 
            |
| 73 | }  | 
            ||
| 74 | 
Adding a
@returnannotation 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.