original_string: public function actionGetMenus()
      {
          $request = \Yii::$app->request;
          if ($request->getIsOptions()) {
              return $this->ResponseOptions($this->verbs()['index']);
          }
          try{
              return Menu::getMenuSource();
          }catch(Exception $e){
              throw new Exception($e);
          }
      }
code: public function actionGetMenus()
      {
          $request = \Yii::$app->request;
          if ($request->getIsOptions()) {
              return $this->ResponseOptions($this->verbs()['index']);
          }
          try{
              return Menu::getMenuSource();
          }catch(Exception $e){
              throw new Exception($e);
          }
      }
code_tokens: public function actionGetMenus ( ) { $ request = \ Yii :: $ app -> request ; if ( $ request -> getIsOptions ( ) ) { return $ this -> ResponseOptions ( $ this -> verbs ( ) [ 'index' ] ) ; } try { return Menu :: getMenuSource ( ) ; } catch ( Exception $ e ) { throw new Exception ( $ e ) ; } }
docstring: list all menus
  @return json list
docstring_tokens: list all menus