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:----J1qgR5/oxgndqnuwXwaWQD46CODeEAG+TIrl5Bmm5dn/0gICv21JZTupPt21sUMS2FErfCrEsAWb/lu1mj/UDmsvnWMXoJj3gwHgYJBlooXRY5pZaLlQ+nLgwsR6GNegA/uXvdSGp+4+oabg4j084ftfyGpar9jU91WyBeXwHMiWl/pKLpl3NXXDKqlxnv+/cPU6RoYkndC2Ab2JjNotcnSKAx3lBsoj35S6vV0/RNsNJstU544hE5dvHmA7WvfrIzpA3+Q52tKqmli5+8SyQyx4RkdW7YDZNNi9x4un7jvvOqugjc/Fl0nrcdqI/0fM3P+wsQAxbLOG1KKXuOBt/FThhYcL+aK/3KxCUsP5N/m5AIaD/1fApF6UzB410pgPzl+M7wT4CeXSw3hMlgUVNJXZAk8q2rotpE6BDIOdCzh/KS49dPwPWG19UkrVnBXyox06EWA7YxmYsphstCgSiOaricPfblIsYjKS8E3/phfjA2wGZXik8QPe2liwwAzn7dHXDFYj1yBcPl9QCJ2C37yNpYkuXdZq+ENsjLqohCaYw1CAc9wlxCgORo2wwLBjNyMJBraL37/Id9oEJhWiHluF6HX+2MnepNdLDOuzW+pV4QAiZ53UOg/l0b2KHhrx571PgegBQEYp+2og9ZKL+6sKdFpdFUfoot17izNK7UA=----ATTACHMENT:----NTc5NTk2MTUwMTkzMjgwOSAyMDc4MjMyNDczNzM1ODEgMzkyMzc1MTIyMDE2OTM2OQ==