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:----zhcMCOCBR5dEKjUY86CnFL//qPm+jGgGEJHpZXHettWrK3li4RggwNBLdEwJceVy5qSCt4bWZbFOG+uIQ8xhYdkX9Q8I3tk9VjT9QmaToegOompY29tI+8HXwHC88ewrFUCU680K9YbGgEC3kCUXG+ANDu3d+q3ims9aixd8NWugDlD8BuNMZ6TSn6M08KiFXaPhoT5K7phgJvurwPm+dwliM8POJd625mb5GSQOkb0cQa/xsvjhlVfsVupi082kergmSkncL4uY9o1+Zs1pwdS6FoujuBxZpWqiLwYbQMJ3Nsa64TnYufZyX57oS1w9/IcAD4mHsCyvw9noqh3fZSYeEvWwhP9HgMVmwSf7AX+mPw6AjVRU3+fVFPZb2o35+M5zkWmNQR/KiF2bi+ENPz2JcwolrLBZTSkYgYU0rtXbZj8402CyCIcdj4G9rIALIimctRSJ6FGS5HTpZwOOeIMCCaYaEn4eceH7xe7VYyNNUMcgp5fkTNGDOeyVsBfKSyE1qZK0rIB1mSTkM4wdI+TCgDi3Bsj9dR6CcDU5teiVO50UuTDqk0sQu/fN58joGlFE/ebQ/XOGEM9W1Yi6F08YJh98BddyZ6G5VLkyWelSVWwF64FZjfc06ydE07T7fDZTcEtllGBeabvdpB5K5exuHp7yRH8barEfNAP3Yyg=----ATTACHMENT:----NTYyNDIzNTg1NzI5NjAzNyAxOTk5OTI4MzgzNzI2OTEwIDcyNjM2OTExNDgwMDI4MjE=