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:----yXR8VjQ2JvTJ9P7YMrh+TQsU5NzePEGppCIFL4KWiqxuAHdHe+tpt0bgcSI13MzWmVMBOt8J0mlZ9N9nCUebBmwbvDAPTkJHdCE08I7SjMyZ1UMw7OLWqM6X8Qy2KHWNSd3vq7rnSKoZn9Ahjhaha8R1Koa1NhUub2LAhaxZ8sXGomV7ia+61FdEHuwF5ImBs8u83sRfpq/L/B9Cad5QgVUw2Kr/sFnnUMnK9ys6Xf4FEDlHS8fuQCUpBgQPCrJVp9Dk8tEnOQP3VBVZk5gzAAeOwNlmMg7EecPMxWAiDmnVXEEjcMG+TVJHXaET3dGp6gnLxFQmQGGJR6tAlOJrzIzw80hQGurZfFB8yxI7LXC6mz/dcw6tWoSaZ5CdW2hvmq+iohxqHNpP4kCc4HhBfFLiORoLt8tyUBp2TDiNdqrqn+df3Wj0w8sAJvp+1rp9OtURouSSJowv3g8vVEu4qTxF5CNrRea5FL1XqPEUYr9l3ef0zfc1ZjWqTuP+wFNtMLOwOujni4nBr4nRFsUzuOD4NsxMfeEqHyrtRPmY0mpE79nt26EOcGp1orUZGO56XwzSVArVHtX9rbBTNDo/kr6JwtfpTzZUfR4PklXxB3fXnFdJN42X6REsJDoxoc7h1IwVnucTDKxm1rKKGcEkdOC/zUuiVbXYnDl8RYx+C2o=----ATTACHMENT:----ODA2MzA4OTg5Mjk1NTgwMiA5MzY1NDAyOTgyMzE3OTE2IDEzNzQyMDQ1NDQ5OTEwODc=