user = $user; $this->status = $status; $this->timestamp = $timestamp; } /** * @return IUser * @since 20.0.0 */ public function getUser(): IUser { return $this->user; } /** * @return string * @since 20.0.0 */ public function getStatus(): string { return $this->status; } /** * @return int * @since 20.0.0 */ public function getTimestamp(): int { return $this->timestamp; } /** * Get the user status that might be available after processing the event * @since 24.0.0 */ public function getUserStatus(): ?IUserStatus { return $this->userStatus; } /** * @since 24.0.0 */ public function setUserStatus(IUserStatus $userStatus) { $this->userStatus = $userStatus; } }