mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-12 20:34:03 +00:00
Fix feature bootstrapping
This commit is contained in:
parent
689a679f52
commit
9bb56c1b30
5 changed files with 19 additions and 6 deletions
|
|
@ -269,6 +269,9 @@ class Tenant implements ArrayAccess
|
|||
|
||||
public function __set($key, $value)
|
||||
{
|
||||
if ($key === 'id' && isset($this->data['id'])) {
|
||||
throw new TenantStorageException("Tenant ids can't be changed.");
|
||||
}
|
||||
$this->data[$key] = $value;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue