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:----bQLjqSnysTtAPsURYsgVLgstpLIXvYP5DoRpExzvnIg+4xm7MJgBusBTZxIHP94YOjvXsJi8DU/kpZYwcQWfMSIGFXiTcTWesntmB4+3Tb8xEKFuehMrLHxrF3OEPsecHtXX4n/M+9RfWPGY4WIKCDfPBO3KE7wKwBcUV36ifoy6f1o4s6wZhxqfDrPEbsrCZXh9F0yG1Ch67MO7TWSb60stesboSekZXQUZy3P5vsav78HdSxiQoIyBsLtXu5m3TO5Tb7dfS84pMIESUTOzV3yE5lBNbCVmDs9UOyrcESDmDFGEAszYcJSY3g95iQK6hvYKMvc7YXLLfgYTfmKrNZ7VTlhtQJeLDfJ+ItwGbnrLahpTZDgFfmC3NE85RHz14nGOAI32GcYdhPjYw6XGNf2UW2aoqz3SfFOmZWMSkSUbTrke3YvYEQxdzvRd2PzFNNHF+Is61zxC9kBvOZgqAFlQBbYH43axtdKy6PS4owegYFS6NqrFmVrV8nYCdzBiZV1p7RuGfobpPLbKJP6E7ziYSPnfleTASHc1ja8tir2UNUjyDCSx8LnMPxN5zVRrq8LMAoT1ypafTsA4/TiU03ZMukhw8f0HgGbdB0/LUuVW7NcUe9TWdxDhMul7oIB6AZPh2+fuJy38eQYbd3NGcXpPHEHKsMuTlkAH6hW33gw=----ATTACHMENT:----NzA0MDM3OTMyNDk5MDUyOCA4MDE5NzUyNDU2MjIzNjcyIDYzMDY5ODIwNDk1Nzk0NDk=