action = $action; $this->title = $title; $this->user = $user; $this->requestIP = $requestIP; $this->accountName = $accountName; } /** * @return string */ public function getAction(): string { return $this->action; } /** * @return LinkTarget */ public function getTitle(): LinkTarget { return $this->title; } /** * @return UserIdentity */ public function getUser(): UserIdentity { return $this->user; } /** * @return string * @note It may be an empty string for less recent changes. */ public function getIP(): string { return $this->requestIP; } /** * @return string|null */ public function getAccountName(): ?string { return $this->accountName; } }