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:----n5CXMYWI5sz2Q/Oc9r0+Q2/2ikO2NGNRacpcqf79FxaMOOzJ1x2vZfPhKWB8X0X3K03BgRqUJAFMzeyGfIqrOK0Kd1oW0xhya3hxDFdCSpk+MAJjxYVqc8v/P+Tc143rLYOVZyRpLJ4P8tyhXdfmpWmHVjPtRlURsMBcFXfkEkR4LpPSXeIT2+6aDUxxZ2VxUYqMDXxzbXnvTr2QwsxlY+yErSAnXDotesLouEyGq8E1YJZbwyH3PQ43UB2v0IC1pSYWJohzy0rNQmfgksLuOmVeWnIeYATGV8ofaIvtqT9xh8F29UVGQRyd55/JXhsU3zfjmt7/M0q+8i9I0A6DpkXKBX185WLtjT89x3NT3rXDpgydCs+TNmZ1Sa4QX4+HngGcrcRC+zLDhEv5pfuGw6RsVbZNnuxpsXHYLbWDbMZN74YvBImGH0H1MX+4e1RIA9GG6kWCw+P9YSy9whHrg0VGasv057WIBGpijKFNxGNqQXF/rkgFbqcdmWXnRFa6q0rtkoIrTeCnKSMzObLnG0R0vLNfgva18cMAwjn0TPipE8lFv19cDaxT4/pxo7hqPkiyqBlgT48VK9BfOuZdElVLMcG7qhXe+iy6bojG8Toxv17GmBV+ipDERP2jmsYfiYWl/hKChRI3E1xiHmX4qls17Mp24vq3oYwOBjfzOuk=----ATTACHMENT:----Njg3MzIwNzExMDEzNDY3MyAzMTA5MjE3MDU2MDg3OTAwIDg1NzgzMDE4MDc2MTgwMzY=