| Total Complexity | 2 |
| Total Lines | 60 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class Execute extends Command |
||
| 9 | { |
||
| 10 | /** |
||
| 11 | * The name and signature of the console command. |
||
| 12 | * |
||
| 13 | * @var string |
||
| 14 | */ |
||
| 15 | protected $signature = 'laragen:exec'; |
||
| 16 | |||
| 17 | /** |
||
| 18 | * The console command description. |
||
| 19 | * |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | protected $description = 'Generate/Migrate/Seed your project'; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * The composer instance |
||
| 26 | * |
||
| 27 | * @var Composer |
||
| 28 | */ |
||
| 29 | protected $composer = 'Generate/Migrate/Seed your project'; |
||
| 30 | |||
| 31 | |||
| 32 | /** |
||
| 33 | * Create a new command instance. |
||
| 34 | * |
||
| 35 | * @param Composer $composer |
||
| 36 | * @return void |
||
| 37 | */ |
||
| 38 | public function __construct(Composer $composer) |
||
| 39 | { |
||
| 40 | parent::__construct(); |
||
| 41 | |||
| 42 | $this->composer = $composer; |
||
| 43 | } |
||
| 44 | |||
| 45 | /** |
||
| 46 | * Execute the console command. |
||
| 47 | * |
||
| 48 | * @return mixed |
||
| 49 | */ |
||
| 50 | public function handle() |
||
| 68 | } |
||
| 69 | } |
||
| 70 |