1
0
Fork 0
mirror of https://github.com/archtechx/tenancy.git synced 2025-12-12 20:34:03 +00:00

Updating event

This commit is contained in:
Samuel Štancl 2019-10-29 20:16:45 +01:00
parent 596d43da2e
commit eecadd6d39

View file

@ -157,8 +157,12 @@ class TenantManager
*/
public function updateTenant(Tenant $tenant): self
{
$this->event('tenant.updating', $tenant);
$this->storage->updateTenant($tenant);
$this->event('tenant.updated', $tenant);
return $this;
}