Example #1
0
 public function getResponse()
 {
     $req = $this->getRequest();
     $r = new JSONResponse($req);
     $r->setResult(0, 'Dummy response.');
     $r->setPayload($req->getPayload());
     return $r;
 }