userId = $userId; $this->action = $action; $this->method = $method; $this->ip = $ip; $this->pathInfo = $pathInfo; $this->content = $content; $this->requestAll = $requestAll; } public function getUserId(): int { return $this->userId; } public function getAction(): string { return $this->action; } public function getMethod(): string { return $this->method; } public function getIp(): string { return $this->ip; } public function getPathInfo(): string { return $this->pathInfo; } public function getContent(): array { return $this->content; } public function getRequestAll(): array { return $this->requestAll; } }