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:----iW6fIBi7oMnxLS7vZQUHkcrvRok0kpWaponfN9pUPacfkko80ZgQKw1OXQswbheBB9fBguwVMWTHhKw+PCGEe0mDEuMewPj+DtOE/6TvbH9jP2lle2OrQaP/lGvHH4RFX+fyRkobkPap3MSJKDfLiNWV/ndPeoVPoLNDbOs5Et0bSaZtJLSyRuhiFyDzVChT6tskSww0bRRHlubx6d10epWHYMBOFMCNURZSI4Dt/fe4bHEjO+OrQsNs9RuZwMmT55DKXjVFQZ1eynT3oh+yY+QhVKgu8YFNUVsd0/sML1czRV1vi3StYBxqhyW3EjxPWmGVvo7AqZ6nQXYFA9lH3pX39KBi3hRgaWsGPSFw6wPz6/FxsEfgMul9L0sd7bjFZbu7hE3yZWJjljLH1GVnwA3HEd4VmLWq/cQ8dKhLTV4Lfi05koBXMKiuo0XGyzekES4cAVH5yvCNb4QQy4vO+ZIk+uLzb2JXZR/qCk8BQdOkkQsVAztKuEgwuTfNyAU0aGuKA2buzw4SLULENCGFZ2w42K8o64i7b7erTsx4fYxboxY3/XgPXPjBbH+A3l6BxN6Zxj5LhqgF/pKUGx26FyBKaFHU7UJBNRoGrA/1W670n+BTHI07w/00N8mmFdIed78fNyPl9YUgC3TEn427HxqnODyzDCUfsnB+sGGjnm8=----ATTACHMENT:----NzIyNjI5NjkyMjE3MjgwMyA5Mjk2NDQ0NjMzMjk5MTQ4IDcwOTc5MzUxODUwMTgyMTI=