We could not synchronize checks via GitHub's checks API since Scrutinizer's GitHub App is not installed for this repository.
Conditions | 1 |
Paths | 1 |
Total Lines | 16 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
31 | public function handle() |
||
32 | { |
||
33 | $name = ucfirst($this->argument('name')); |
||
34 | |||
35 | // Create the CRUD Controller and show output |
||
36 | Artisan::call('backpack:crud-controller', ['name' => $name]); |
||
37 | echo(Artisan::output()); |
||
38 | |||
39 | // Create the CRUD Model and show output |
||
40 | Artisan::call('backpack:crud-model', ['name' => $name]); |
||
41 | echo(Artisan::output()); |
||
42 | |||
43 | // Create the CRUD Request and show output |
||
44 | Artisan::call('backpack:crud-request', ['name' => $name]); |
||
45 | echo(Artisan::output()); |
||
46 | } |
||
47 | } |