| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 6 | class Initialize extends Command |
||
| 7 | { |
||
| 8 | /** |
||
| 9 | * The name and signature of the console command. |
||
| 10 | * |
||
| 11 | * @var string |
||
| 12 | */ |
||
| 13 | protected $signature = 'laragen:init'; |
||
| 14 | /** |
||
| 15 | * The console command description. |
||
| 16 | * |
||
| 17 | * @var string |
||
| 18 | */ |
||
| 19 | protected $description = 'Initializing laragen'; |
||
| 20 | /** |
||
| 21 | * Execute the console command. |
||
| 22 | * |
||
| 23 | * @return mixed |
||
| 24 | */ |
||
| 25 | public function handle() |
||
| 39 |
If you suppress an error, we recommend checking for the error condition explicitly: