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:----ZZngG7pz7CUilbeUlMaaNpcH1dkSmX/2FWWfQeM71fX5YJ2XKPr1FYpHl38zOCUjbhJ6dXnNWekZusGecnK2AHZuX6Xc/XZsXPuvQA0HILqdV0jpaD/c7996ZX9jYfBW23nxukXmr1pYuZISfdZpQvX7z7vLIRjN+fHM6CWdfAHwr8vxJawctUUIhnbA8LitQSpWmIIwgUu/0mGl8N7x9IsrqE4e9roFrY7haa68biHLopoZ/OKiL3ZejadkZKJ8xqbmO3urLBLtqktEG5/VHj/XWH7zmSpWzjgH6GsHM/GshB79MhV0yUeE/GwCYeizJRICFpkOBVawAuWndToV/EqEEG/DJT5G5aec5x+Cl/FcdKKvG9s8Nt2nkgdOM0BPybscEFqIkC5fSDNprR9IB7/DpO31mdrywrWfCH/G2IRnoak20yUuPS8uYyh/YJLLf34zjL0oJ3/9H7scpk82MkH1/XKR0OGBQFJgOsqjDdewloZLxycOeIsVUir9g/VEpFeQVUj/yMc7WIPO1I5qmiMxYtU4iiT3w7H7GkR6GJ97HhlQ2bPNnKbnJsKZc+sICPMuBafG2Gt5ve0ihyQRo1IdkTMubj4U+knpY8TtpCL5jh1owJb+thwJepMlIOjf+QyH2/LyZrouwrrGWCmr4VeGSg1kqIOvj7mNa0/BJco=----ATTACHMENT:----NTQ2NTUyNjgwOTA2NTQxMSAyNTg3MjczMTk2NjI3MjMzIDEyMDcwNjY5MjM2MjM3MzY=