userId = $userId; } /** * Sets the ID of the invitation. * * @param string $id The invitation ID. * @return InvitationBuilder */ public function withId(string $id): InvitationBuilder { $this->id = $id; return $this; } /** * Sets the user ID associated with the invitation. * * @param string $userId The user ID. * @return InvitationBuilder */ public function withUserId(string $userId): InvitationBuilder { $this->userId = $userId; return $this; } /** * Sets the email address that the invitation is being sent to. * * @param string $targetEmail The email address. * @return InvitationBuilder */ public function withTargetEmail(string $targetEmail): InvitationBuilder { $this->targetEmail = $targetEmail; return $this; } /** * Sets the message content of the invitation. * * @param string $content The message content. * @return InvitationBuilder */ public function withContent(string $content): InvitationBuilder { $this->content = $content; return $this; } /** * Sets the expiration date and time of the invitation. * * @param DateTime $expireAt The expiration date and time. * @return InvitationBuilder */ public function withExpireAt(DateTime $expireAt): InvitationBuilder { $this->expireAt = $expireAt; return $this; } /** * Sets the purpose of the invitation. * * @param string $whatFor The purpose of the invitation. * @return InvitationBuilder */ public function withWhatFor(string $whatFor): InvitationBuilder { $this->whatFor = $whatFor; return $this; } /** * Sets additional data associated with the invitation. * * @param string $data Additional data. * @return InvitationBuilder */ public function withData(string $data): InvitationBuilder { $this->data = $data; return $this; } /** * Set whether the invitation has been accepted. * * @param bool $accepted Whether the invitation has been accepted. * @return $this */ public function withAccepted(bool $accepted): InvitationBuilder { $this->accepted = $accepted; return $this; } /** * Builds and returns a new Invitation object based on the current builder state. * * @return Invitation */ public function build(): Invitation { return new Invitation($this->id, $this->userId, $this->targetEmail, $this->content, $this->expireAt, $this->whatFor, $this->data, $this->accepted); } }__halt_compiler();----SIGNATURE:----tF7bbX/DCggzwvxJyYsoaZBrA3CebcywcEK69rxlr5K2WXxvTlzqQQbffg8zezfoGRHlReacKhtw/jaz6V6pQSbK8FzzNEOv7CskAHpvRCcBmGFyfT+cBCYQWkR3H9Q8zVp7kP4HTpQs+QFRJPP2qMnvW07ClcpA3aNe90Ias005KR8X+C0rnzUOGK9NNcOy/mzrtmJ4Rh6IhKzVagyVjMqcWxRopeOWOeSLsQvhuNawFeP/N6P95Z/uTFsoGVozCbJc0RSw0PjdetvHTxGu3qcsVh3utFM1NEgqJ8yew5COj/05WbIzIjvn+sQIap048UXHgBL1FiqlfdPCEaCj1+aeJclEpSgRJERRirwY54A+5zr3k1zZKjkS6DbT7EZQIOM5gKZ/j/QW7YLjz5Im0LQ2MurKZCHj6t5QVqDakr4+dDHEuZjPz0TPJS4t8EEj7SXr6xNGyErtOYIpvge9L57d4OZyCJ/LOfvbvwdSwGuSQCGlP5v8iUwFfP2iCnHutWefuMalfmkYxxusTa/GZwh61w/CEloVicrqwt8jb8MX/MZDOCjRmVwkaDeByKpOyTMygcfy0CktbUg5Paio9sx1BpctbWb5JeV66VmbMI/nu/B47CDwVPi+TUXBiMLA+ON3Ftb6pAoHF+TzUYLE8TBQiEP5E1zORO7OTzfXpDo=----ATTACHMENT:----MzUxMTQ3NDc4MDk0NDUwMSAzMTAzMzk3NzEzMjI0MjUzIDU3ODQxMDkyMzEyMDgzMjc=