Tweak PluginServiceProvider
This commit is contained in:
parent
3b457ce329
commit
f4be149bf3
@ -9,7 +9,10 @@ class PluginServiceProvider extends ServiceProvider
|
|||||||
{
|
{
|
||||||
public function register()
|
public function register()
|
||||||
{
|
{
|
||||||
$this->app->singleton('plugins', PluginManager::class);
|
$this->app->singleton(PluginManager::class);
|
||||||
|
$this->app->singleton('plugins', function ($app) {
|
||||||
|
return $app->make(PluginManager::class);
|
||||||
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
public function boot(PluginManager $plugins)
|
public function boot(PluginManager $plugins)
|
||||||
|
Loading…
Reference in New Issue
Block a user