mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 17:24:03 +00:00
Try fixing Queue issue
This commit is contained in:
parent
0442be42de
commit
2a1e2a727e
2 changed files with 18 additions and 5 deletions
|
|
@ -41,6 +41,10 @@ class TenancyServiceProvider extends ServiceProvider
|
|||
|
||||
// Make sure bootstrappers are stateful (singletons).
|
||||
foreach ($this->app['config']['tenancy.bootstrappers'] ?? [] as $bootstrapper) {
|
||||
if (method_exists($bootstrapper, '__constructStatic')) {
|
||||
$bootstrapper::__constructStatic($this->app);
|
||||
}
|
||||
|
||||
$this->app->singleton($bootstrapper);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue