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:----ioANe7bH45yB2OPCjX+hUGJnMaGgSefyjgZZTIrW6+AlW5stSTfQQjGv/m9syqb+LHpsmZoU0r2aWXJYODQOg8epZVgvatFT7IlMgkTdOtfuFVk6BDNGOmWPjPHmHPIhMxOcXMmkFsf0Bt9kk5Rge+B0MkorqgxmSDvK/uV0/RLC0VfDzGqA26t1LMaoQtzKfDrM4mLSQPALE1tYr2NQ6VYyQmmihHlZgxqTP1Jlfg+MGea/mEU4caujY4XhAgTtxxjyS+b5Kq4tSDwd0+Tio9pTouxeXQAYKqAH+//9nG7ZzKWLyibFEn71uki7QPpJ0au1BfoCRmerc6Zv/x9+Rebuv8ZIokqyg9JdenA4wutFpWhofPn9IYGDXnpiLNde/dXdDdjt1kaSvaWhITXq73mrrQpvSVA3rrxRuinp7H7tY6m2ndw+YRf8iaUMNJu+qTJJKeiszOK/2HKsZwHDH2HzllpiwHbBOwyrhRodlcTm/Q6C8Up46es9hK6A8fQvv/imJ9sKIAzaVanwkuhH/q5aqTgrpt9QIN94YclePjhZRqEyLd4J87W5CP0eIwfDy8WpPnvvpPLkZNK96Sz8r4FzTSRMFLsHSiNPCCrATb8PGTHku24XJNL3TZ3wPcIOh122H3Rcf2/TUscOCyoQbZKvtlBWsiANXfALpqZdemw=----ATTACHMENT:----NDgyNzYwNDM4NDI3OTIxNCAzODY2OTc0MzQ2NzIwMzQ4IDc1Njc3ODk2NTYyNzU4Mzg=