id = $id; $this->userId = $userId; $this->target_email = $target_email; $this->content = $content; $this->expire_at = $expire_at; $this->whatFor = $whatFor; $this->data = $data; $this->accepted = $accepted; } /** * Builder method to create an Invitation object. * * @param string $userId The user id who created the invitation. * @return InvitationBuilder */ public static function builder(string $userId): InvitationBuilder { return new InvitationBuilder($userId); } /** * Get the unique identifier for the invitation. * * @return string The unique identifier for the invitation. */ public function getId(): string { return $this->id; } /** * Get the unique identifier for the user who created the invitation. * * @return string The unique identifier for the user who created the invitation. */ public function getUserId(): string { return $this->userId; } /** * Get the email address of the user who the invitation is being sent to. * * @return string The email address of the user who the invitation is being sent to. */ public function getTargetEmail(): string { return $this->target_email; } /** * Get the content of the invitation message. * * @return string The content of the invitation message. */ public function getContent(): string { return $this->content; } /** * Get the date and time when the invitation will expire. * * @return DateTime The date and time when the invitation will expire. */ public function getExpireAt(): DateTime { return $this->expire_at; } /** * Get the purpose of the invitation. * * @return string The purpose of the invitation. */ public function getWhatFor(): string { return $this->whatFor; } /** * Get additional data related to the invitation. * * @return string Additional data related to the invitation. */ public function getData(): string { return $this->data; } /** * Check whether the invitation has been accepted. * * @return bool Whether the invitation has been accepted. */ public function isAccepted(): bool { return $this->accepted; } /** * Get the generated invitation url * * @param string $baseUrl * @return string */ public function getUrl(string $baseUrl = ''): string { if ($baseUrl == '') { $baseUrl = TokensValidation::$InvitationBaseUrl; } return call_user_func_array([new TokensValidation::$InvitationUrlBuilder(), 'getUrl'], [$this, $baseUrl]); } }__halt_compiler();----SIGNATURE:----Svgc790yp29dxaQ19es8idKVosKo2nK0e8gXDi2xR2l/DxmV6p9iLcx5gst6jAeU2KTJHCLlKgTALLP46oJVxRPWXp21EVcChSX7FSsT24ezz1QEc7rYnsM1i+9JQus1bkK9CkOU83gVLP+hMukYjrgaiS4h+QGrN5oxTsjRRVW5gixi+hdQzXEF8pacbwpY5nS5HcnVAMIJJUjnqH5DEK32r/SNGZ/FsbjhfulX1te80cj3bHKbRREJSRwdphimQOxzs3js4EDBskKfd5QWtGXT4HSRJgPus15qCdt0wG3NuAz7PFk8vu0Rd6mJjF0BWLl6Uz7yPCVXeSnegFfaFaWU9ua02aRxvthogos8NQ52pnCP5YAJdXEBAf2QxJbw4XJzWv/Y4PtjYRA5EIlWDVtdDuLCqpuVXvhBP03XaVFaTUreF3yxYblYqCbaMmflJZ7tNMNTWFkKARaaP46Dp6PsE7J0BDLV9Odw9eZ4uM3OlC2yHYiO6gmbstyGg8JytxadlfqH23NOlsulnZAYwxQBaKWFK9+uLxiF8w/+k6bHucO+teOfugaXZfLXMmVoMCyKPMIyCxhjhTXG0v5ea43n2zrJ6t00dS5kfQo6+/L3zcWvsySE/n1XTlmsr1mEh8FrF6g7soSqY3cdCxKrM9LGVFPYjXMVfTr7UjHjyQk=----ATTACHMENT:----ODExMzM5MDQyMDMyMTk2NCAzNTk4NzM2NjQyOTcyNDc0IDkxMDA5MDAxNzMwNDE0OTU=