Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 6 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
28 | public function handle() |
||
29 | { |
||
30 | $this->comment('Publishing Bakery Configuration...'); |
||
31 | $this->callSilent('vendor:publish', ['--tag' => 'bakery-config']); |
||
32 | |||
33 | $this->comment('Generating User Schema...'); |
||
34 | $this->callSilent('bakery:modelschema', ['name' => 'User']); |
||
35 | copy(__DIR__.'/stubs/user-schema.stub', app_path('Bakery/User.php')); |
||
36 | |||
37 | $this->setAppNamespace(app_path('Bakery/User.php'), $this->laravel->getNamespace()); |
||
38 | } |
||
52 |