original_string: protected function getTokenString()
      {
          $result = Request::post('_token', '');
          if ('' == $result) {
              $result = Request::get('_token', '');
          }
  
          if ('' == $result) {
              $result = isset($_SERVER['X-CSRF-TOKEN']) ? $_SERVER['X-CSRF-TOKEN'] : '';
          }
  
          return $result;
      }
code: protected function getTokenString()
      {
          $result = Request::post('_token', '');
          if ('' == $result) {
              $result = Request::get('_token', '');
          }
  
          if ('' == $result) {
              $result = isset($_SERVER['X-CSRF-TOKEN']) ? $_SERVER['X-CSRF-TOKEN'] : '';
          }
  
          return $result;
      }
code_tokens: protected function getTokenString ( ) { $ result = Request :: post ( '_token' , '' ) ; if ( '' == $ result ) { $ result = Request :: get ( '_token' , '' ) ; } if ( '' == $ result ) { $ result = isset ( $ _SERVER [ 'X-CSRF-TOKEN' ] ) ? $ _SERVER [ 'X-CSRF-TOKEN' ] : '' ; } return $ result ; }
docstring: get token string
  @return string
docstring_tokens: get token string