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:----pNGWyU9ihwTRrICZFEzrOkO68zU2fZ2Q3lOwVO6MTd24KjXZw+CrvtK0BQmYSeiAgNI18MExJ/myPPNLNl+io/zDZVlh/OJSgudiqDc+CWqs3SXI2hm/gUbCzA6maZYuzeMIXSfMU+E89IKBwMq75djbPL0BW94ClUkAMmkL658nA0pN4aT3PGPHh73LaLWgdtFW3nRT/gjg6UF1EQEDls29/tPzAIw1UvYAzsLV9hJeI6B/zU97sYs9hcFr+MjJtTvwzYPU3lFaeaCeOFeEdXhk3LuwdaQbrQ2I9JR2NacABET9h6pFFjOtj4hru2keCglRD0X9/fk1NY/zljbyC6RiQY9V02SMMKAaJ3RfXjzsDA9MMSiluYfj76N1/1MDSOQeuKUJxt0eVQYebBr4pgylMChbFtHfaGLlR+IkM5KjTWv0YogZikPwUtM5sgMn3ptkwQRt6/l9t7utr1/+TjIC9rwgkwEDzgolOCuv86IlNtKMYOwC34btQ8ubXBuShTsagow4bAekSWF+I2zA621/bIuL9zuJuUAzuJXQsVBuPPYTJywehIyHMvWs9CPbggfe7Gley0z8ng7DSJeh/Jj1VznAEl4cenPDihg0TZNNsAx3xk6CpgpdMGEjsG0CbD1QR1G/i4rGTv6JndRH1BCA7Oq1CaVff8+pnPLkYlU=----ATTACHMENT:----NzY4ODM4NDYxMjM1MzAzOCAyMDg2ODg5NDM4NDM4MzUzIDY4NzIxMTQ0NDk3MjU0MzM=