providerName = $providerName; $this->result = $result; $this->status = $status; $this->responseTimeMs = $responseTimeMs; $this->errorMessage = $errorMessage; $this->diagnostics = $diagnostics; } public function getProviderName(): string { return $this->providerName; } public function getResult(): SearchResult { return $this->result; } public function getStatus(): string { return $this->status; } public function getResponseTimeMs(): float { return $this->responseTimeMs; } public function getErrorMessage(): ?string { return $this->errorMessage; } public function getDiagnostics(): array { return $this->diagnostics; } }