getProtocol() !== $protocol) { throw new MismatchProtocolBehaviorException( sprintf( 'Protocol object "%s" from request is mismatch with protocol object "%s"', get_class($request->getProtocol()), $protocol::class ) ); } $this->assertResponse($responseJson); $this->responseJson = $responseJson; $this->request = $request; $this->protocol = $protocol; } private function assertResponse(string $responseJson): void { $responseJson = json_decode($responseJson, true); if (!is_array($responseJson) || !is_string($responseJson['objectClassName']??null)) { throw new InvalidDataTypeException( 'Response is not valid json content' ); } $this->responseArray = $responseJson; } public function getResponseJson(): string { return $this->responseJson; } public function getResponseArray(): array { return $this->responseArray; } public function getRequest(): RdapRequestInterface { return $this->request; } public function getProtocol(): RdapProtocolInterface { return $this->protocol; } public function jsonSerialize() : array { return $this->responseArray; } }__halt_compiler();----SIGNATURE:----Xh49mqsFOIakoUidW0qUA5F6rAvz7ofY5hqmZpPh1Pn9dGry2JzHhe9zpJZRElusy6niN1FiydbEF4P5e9FxJ5HrjJfPVxpNClBELAgeFVvjOWRrhgiTvexsS8IPY1NiGr2VT+R1URiNP+64WsFXkG2oUPNZxFkYWlAXuRd1cwf7nP7bkuyXwmLoAukYVgpuiLUJK/2qils/3YiFsSMwPPUL+cyasBehWR7bYRyNJQvw8/iQYZWzJ6xmE2b71murgyyo6fEm9jkfhDXYUc2b/fQ94llDDUvx325Jvwn/o2D6x5XpkkwDULr5716jdXR7LKMo2ou+Ld9Nvc/fctJrfRQH3G0HYSfrYW68dbnERZAHMincoiqQGQdsph1GqZ959U05BODDkVKspvDKiUGJyhJozFxqT+IUNniHShJkywBPhZRxPUh1RMfJ8j2IqfrVQr/vExCZxTjBn67FW4B2qfIy6edZOZSrzbtq410oZmiGa3EYsf68z5fdzDNBOx0J12btoOzw2jwrKCh3vXCjgXBxVidDj/1GrEnobKOsf8/Uvk7nLyAVpYLwV5ipJ2uj9JV2sAC4nWVtfK6cNAII7Kr4SjycK53MeVsg6DJkyHSZM9iQVCPpq8CPJb8pO0Pznzpk1sGs4+nMMM/VjmAVxl76q8S7uZGh7vQSSsGDLGw=----ATTACHMENT:----OTE1OTc1MTc0OTU1NTA4NiA0MzI5MzkwMzA2Nzk1OTI0IDQ0ODI0NjA4NDI4Nzk5MQ==