mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-06 01:34:02 +00:00
fix ./test
This commit is contained in:
parent
f183235992
commit
19409d7723
3 changed files with 15 additions and 30 deletions
|
|
@ -23,7 +23,7 @@ final class TenantManager
|
|||
*
|
||||
* @var StorageDriver
|
||||
*/
|
||||
protected $storage;
|
||||
public $storage;
|
||||
|
||||
/**
|
||||
* Database manager.
|
||||
|
|
@ -350,24 +350,4 @@ final class TenantManager
|
|||
|
||||
return $this->tenant[(string) $attribute];
|
||||
}
|
||||
|
||||
public function getStorageDriver(): Interfaces\StorageDriver
|
||||
{
|
||||
return $this->storage;
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the storage driver.
|
||||
*
|
||||
* @param Interfaces\StorageDriver|string $driver
|
||||
* @return void
|
||||
*/
|
||||
public function setStorageDriver($driver)
|
||||
{
|
||||
if (is_string($driver)) {
|
||||
$driver = $this->app->make($driver);
|
||||
}
|
||||
|
||||
$this->storage = $driver;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue