mirror of
https://github.com/archtechx/tenancy.git
synced 2026-02-04 17:04:03 +00:00
Merge branch 'db-storage-driver' of github.com:stancl/tenancy into db-storage-driver
This commit is contained in:
commit
9fcfcf3ae0
1 changed files with 1 additions and 0 deletions
|
|
@ -26,6 +26,7 @@ class Tenant extends Model
|
|||
public function getFromData(string $key)
|
||||
{
|
||||
$this->dataObject = $this->dataObject ?? json_decode($this->{$this->dataColumn});
|
||||
|
||||
return $this->dataObject->$key;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue