From eecadd6d39ba15941c4d60816bf6508ca0ce114b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Samuel=20=C5=A0tancl?= Date: Tue, 29 Oct 2019 20:16:45 +0100 Subject: [PATCH] Updating event --- src/TenantManager.php | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/TenantManager.php b/src/TenantManager.php index 0b4fdc6b..b3d12074 100644 --- a/src/TenantManager.php +++ b/src/TenantManager.php @@ -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; }