mirror of
https://github.com/archtechx/tenancy.git
synced 2025-12-13 02:24:03 +00:00
Updating event
This commit is contained in:
parent
596d43da2e
commit
eecadd6d39
1 changed files with 4 additions and 0 deletions
|
|
@ -157,8 +157,12 @@ class TenantManager
|
||||||
*/
|
*/
|
||||||
public function updateTenant(Tenant $tenant): self
|
public function updateTenant(Tenant $tenant): self
|
||||||
{
|
{
|
||||||
|
$this->event('tenant.updating', $tenant);
|
||||||
|
|
||||||
$this->storage->updateTenant($tenant);
|
$this->storage->updateTenant($tenant);
|
||||||
|
|
||||||
|
$this->event('tenant.updated', $tenant);
|
||||||
|
|
||||||
return $this;
|
return $this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue