mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 06:44:04 +00:00
Add psysh as a dev dependency
This commit is contained in:
parent
2e0414cc62
commit
d14aa0b642
3 changed files with 6 additions and 2 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
|
@ -2,3 +2,4 @@
|
|||
composer.lock
|
||||
vendor/
|
||||
.vscode/
|
||||
psysh
|
||||
|
|
|
|||
|
|
@ -16,7 +16,8 @@
|
|||
"require-dev": {
|
||||
"orchestra/testbench": "~3.0",
|
||||
"laravel/framework": "5.7.*",
|
||||
"vlucas/phpdotenv": "^2.2"
|
||||
"vlucas/phpdotenv": "^2.2",
|
||||
"psy/psysh": "@stable"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-4": {
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue