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:----ZjDKSC5uNkpLKDZ+7X7i6Hy+UN23u7UYc3zw5/cvWQ2oxNoj3M0q0+pZmbS28mbOH1Ci5UgLrHGmufkqCG73hAOG5CnFeYg2A5UHYZTyjGkMpYWGY8yXQQuBJcpoxA5+aKvnpDp8Kno+lTB/mSxFTjXZBh2GAg0mqQXLRu1w0xp2BxDXx2Joplv+qbhYccfdnWov5Ugmj7koaSnH3hpAnnB2izBNZEMjHWI8jIFSdhl8Ti7mwByE+OR662bOvA03Rhi/BbtSjLgmJ4FfY77vPjCXjNpeGm0oeWxFgZeGo+8UBGDhcP7ZQbOB6CyRr7uUpXE0R6rycPxdM8O8MQYgvcfYKJoZmxvLXr2FmMLkmEdmtNw2suozonRyIatdopZwVrmuYvK6ZJ9UMz9bm2jfLOeXDTlcx/9Q0ZqVso+lS567QwRNzThP4i9cWTz0jVdlvl/LJjyRYtUWSA/DyIp3+L3F7ukHEHSW3ZwLUaV4AOXrwddb6Ta+3NO7Vv6s1fPoIp7ZJGSaMJ0RMYcuTc3U3H/euCPFQSCZFyeiu71vQn7TNk4xi8tRVlNzsXZIDkYipk4D5lD9i3vWyTIGCvU7PAeOdHcr2pFIRrBct6goLgjWML+lgEUMAxhVDYs4vVhpZWgito9rvAP6pqCrvKKXNbQxGqkOEkcyxsd6sV7euDE=----ATTACHMENT:----NjY4ODAwOTI3Mzc2NzMzMiA5NTg2OTIwMTk1NjI2NjE4IDc2NjQ3NTQ5NjQ3MDY4OTM=