From a471c8981ef75d33f6a4ac639b15bad27549916d Mon Sep 17 00:00:00 2001 From: Maciej Kobus Date: Thu, 11 Jan 2024 15:08:46 +0100 Subject: [PATCH] Added UserRecipient class --- .../Value/Recipent/UserRecipient.php | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 src/contracts/Value/Recipent/UserRecipient.php diff --git a/src/contracts/Value/Recipent/UserRecipient.php b/src/contracts/Value/Recipent/UserRecipient.php new file mode 100644 index 0000000..803c63d --- /dev/null +++ b/src/contracts/Value/Recipent/UserRecipient.php @@ -0,0 +1,27 @@ +user = $user; + } + + public function getEmail(): string + { + return $this->user->email; + } +}