code: public function serverSendObject($code, $sets, $errs)
      {
          $data    = array();
          $data[0] = 1;
          $data[1] = $code;
          $data[2] = $errs;
          $data[3] = $sets;
  
          $send = $this->serializer->serialize($data);
  
          return $send;
      }
docs: @param $code
  @param $sets
  @param $errs
  
  @return string