We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d618004 commit a21abfeCopy full SHA for a21abfe
src/ServiceProvider.php
@@ -96,9 +96,7 @@ private function bootServices($service): void
96
// and register it with the container
97
$this->app->instance(Model::class, $model);
98
99
- // I don't get why you are doing this twice? You never load the model
100
- // via app()->make('lodata.model') or app()->make(Model::class). What
101
- // am I missing here?
+ // register alias
102
$this->app->bind('lodata.model', function ($app) {
103
return $app->make(Model::class);
104
});
0 commit comments