aboutsummaryrefslogtreecommitdiffhomepage
path: root/api/Users/Events/UserWasUpdated.php
diff options
context:
space:
mode:
Diffstat (limited to 'api/Users/Events/UserWasUpdated.php')
-rw-r--r--api/Users/Events/UserWasUpdated.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/api/Users/Events/UserWasUpdated.php b/api/Users/Events/UserWasUpdated.php
new file mode 100644
index 0000000..02658d1
--- /dev/null
+++ b/api/Users/Events/UserWasUpdated.php
@@ -0,0 +1,16 @@
+<?php
+
+namespace Api\Users\Events;
+
+use Infrastructure\Events\Event;
+use Api\Users\Models\User;
+
+class UserWasUpdated extends Event
+{
+ public $user;
+
+ public function __construct(User $user)
+ {
+ $this->user = $user;
+ }
+}