Exemplo n.º 1
0
 /**
  *
  */
 protected function setupJsonResponse()
 {
     // Make text translator available in the controller
     $this->lang = \Lib\AppFactory::translator($this->app->request()->language());
     $this->response = new \Lib\Http\JsonResponse();
     return $this;
 }