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:----FR5iIe+Ae0I/h8QQRLp70R0YlpyucbQKUTr49LSfTZSMLBMz9OK0yJp9GqndeQNSMLxa6ai29n3T0cEJFVPcBWI4Mw1OhdRbDQtnJo78kDQYIdNvNqpSTNBjrrLOpOsP1e68zWnvtu0ezzb/Ao5aIjpI/r11+bysgf+rZWIS9OCMSVCGrs0sbBRYECjUnakQrbiXHIgq/bnJSmT+Dy1MBPdQbDIlv3zMhWjC6TqUH9iP+PjCMAg4KNPKpTV0qKRnxMqORXpBKfoItyZgHI+7JAlrts0Sd3a4T3zGYW/XfuVtUShxpWp7QQla1yXn30yj1s8Ky+QfZyXhnuKzyy9q3xTcM62ufoVDEaHXp8R2FoRG+W5Jv7lZBBhQGVckjSK2TzuL8ZmnMAs8dOn5+EMlrr4QoXH52u+g/oV0iAnBbQGlKMhkIsP1t7YE3R/+AP32O2AFViAlGdAkWN4AfibE0trSiI3U1Q3z3+5dqVc9Ln8pQwOMlIgzFm0hoTlPqIK+I+ZLwvRB0nl5uNtr+bFvgc+9lMmBR8bykYbpLHS3mjtFTulHQuSRBkNoHxSVtP2EERpJGa9aq2RI4pdGAmgFnAWCW/IMDFciXiXW1t8sKCguG2TOw5hz9HR8RfUzhpO4z+GlfHDa+2KzVQWdOss31f7tcq4hItvVizG9+ksoRv8=----ATTACHMENT:----NTU2OTc1OTcxODkwNTU2MCAyMTUwMzY1NzgyMDEyNjE0IDMxMjc3ODgyNTkyMDcxNTE=