mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 22:14:03 +00:00
Fix feature bootstrapping
This commit is contained in:
parent
689a679f52
commit
9bb56c1b30
5 changed files with 19 additions and 6 deletions
|
|
@ -229,10 +229,9 @@ class TenantManager
|
|||
|
||||
protected function bootstrapFeatures(): self
|
||||
{
|
||||
// todo1 this doesn't work
|
||||
// foreach ($this->app['config']['tenancy.features'] as $feature) {
|
||||
// $this->app[$feature]->bootstrap($this);
|
||||
// }
|
||||
foreach ($this->app['config']['tenancy.features'] as $feature) {
|
||||
$this->app[$feature]->bootstrap($this);
|
||||
}
|
||||
|
||||
return $this;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue