コード例 #1
0
 public function tokenAction()
 {
     $request = new Request();
     if ($request->isGet()) {
         $token = $this->token();
         $this->response(array("value" => $token['value'], "key" => $token['key']), 200);
     }
 }
コード例 #2
0
ファイル: Request.php プロジェクト: mattvb91/cphalcon
 public function isGet()
 {
     return parent::isGet();
 }