1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 19:14:04 +00:00

Add psysh as a dev dependency

This commit is contained in:
Samuel Štancl 2019-02-08 16:10:59 +01:00
parent 2e0414cc62
commit d14aa0b642
3 changed files with 6 additions and 2 deletions

View file

@ -189,7 +189,9 @@ class TenantManager
public function actAsId(string $uuid): array
{
return $this->setTenant($this->storage->getTenantById($uuid));
$this->setTenant($this->storage->getTenantById($uuid));
$this->bootstrap(); // todo this could break storage_path() for example?
return $this->tenant;
}
public function actAsDomain(string $domain): string