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:----XK4J2eqeN08vq0Bp3X5/F6BvogKXdG3opLIRDeG84CAM9yM3CNvicOy7NuK71Afm2hR8XO7e+adi3fOsSkUVIphfX/4h0ZBytVoY0IY/mkKOOwrJFwDF+KkCjdBZoXSr5XMrxHWMKbAPw3UH//wmuoz12yi6zIjXdTyKreyfrhCO3bUOZfQoSYM7v6wC4Tx7IUzuepWF75LrZvQ/xlOXlUnxFDYlTcY5hCVXUBZF3pgHLqeXXmFji9IbW4BLLUNPGrdyRKE1nL/2rI35+5IpRTyItRi9c62IZD5USifHpxhTc76jifuIMVE7giVihhCU0nvTUP3WvxRCGILi8c5IkcHHbCYZYlUlBP0LerbWy1eVeRxHdYGOfpZ8d/gcfarI10ifYgL7P4opH4T6Xf20Ty9Cl1yg5EMbf02HmZF+eHlN+urDbNsP+RT7o8hM3puJIVjP/mEYZ/iKwuP1VCkZqkZxYeTVeQFHSsOKnU7KcNg16vsmsjo7cq8P51AblDUWjw1usEiJ7xgkL4tsGNQe4Pv/YeX20G39h0p7iHGZb583ORx7NKD175sewEByrHkykhve35+QMyBxhB0UGJNCVF6UKSUPMcSaWB+ciVyhwVw6gVWVSIkF3bkpWa2BNpxzouU3ZU7uLALNf8tVYs7f8XEl8rDfI1F5uR9wjcu/sls=----ATTACHMENT:----Mjc1NTQ5ODE1MTkzNDMwMCA4MTgxMjA4ODcxOTEwNjQ0IDIwNjAzNzIwMjY4OTYwNTY=