httpRequest = $httpRequest; } /** * @return HttpRequestContext */ public function getHttpRequest() { return $this->httpRequest; } /** * @param SourceLocation */ public function setReportLocation(SourceLocation $reportLocation) { $this->reportLocation = $reportLocation; } /** * @return SourceLocation */ public function getReportLocation() { return $this->reportLocation; } /** * @param SourceReference[] */ public function setSourceReferences($sourceReferences) { $this->sourceReferences = $sourceReferences; } /** * @return SourceReference[] */ public function getSourceReferences() { return $this->sourceReferences; } /** * @param string */ public function setUser($user) { $this->user = $user; } /** * @return string */ public function getUser() { return $this->user; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ErrorContext::class, 'Google_Service_Clouderrorreporting_ErrorContext');