Example #1
0
 public function getServerResponseFor($nativeVars)
 {
     $response = new Response();
     $response->setResult($nativeVars);
     $json = $response->toJson();
     $response = $this->makeHttpResponseFrom($json);
     return $response;
 }