Example #1
0
 /**
  * @param array $json
  */
 public static function fromArray(array $json)
 {
     $response = new MRPCJsonResponse();
     $response->setError(MRPCJsonError::fromArray($json["error"]));
     $response->setId($json["id"]);
     $response->setResult($json["result"]);
 }