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:----FAvz5KvxP6wFh9zURqc28EsgRpV8a8O3TkNO946hf15BDmh2RwUOwf6AK4QAiTjRu4zNgH065H4sM1/3BN3t9Gv3hQveSGCNieuB0+lnsSX2qtlaD+RGR3I20QKfhj37JvyW/jVjwc+4k/0PseaKBxKyEVBXdB8ItnUpyw3dEMEs2IqLgDdQEUJ/R/gQyFuMl7UFjVXhqf/DFOWIgu/bPM5p/t74R3c+NGThMQwh65kAmKC8+NoXwCg82cnzENlPRQN8WxpqpwQl+FKxSnKUE2LHho7QwgVELrp+MlGO/QkSJc311+ZmUNH9Tb5oWNDYBHEZQqmNKk6ysF3A4Ui5IE+J1q49aKKe6cC7e112gUuTcfBTxnm664AHHGftnVxXDqXoL4c/1BSq76KkFgbv7UVmpMTctGzGLPLw+SAnH07CBQabkKYgdnvGtwMEgpXWCnaYbKMeC1zRnYWyikEQ4WdFDBiZfGclTj6UNE1boqTmyYKqwrjaCvNpaJvx+Zuys/UuJo8caDJL4iX/e7+0d82EZfFL3C7Gsp1gA2xSfzmGpsj3eCk3QLmCOW96nbqaQJUTP0fKnrnExTp7p/e1J60yn7VqoBpLx9x3JZzbVMr76AjYniRe25f9FQzbquCzDTYE3dFpWI4KAZikvZq+MZa7l9WPNUtEadCUDFu/bK8=----ATTACHMENT:----MjMwNTY5ODQ0MjE2Mjc2NiA3NzAzNjE0NTc1MDgyNDQyIDI0OTcxMjAxMjg2ODc4NA==