original_string: protected function controlToken($key = null)
      {
          $control = isset($key) ? isset($this->query[$key]) : !empty($this->query);
  
          if ($control && (empty($this->query['token']) || !gplcart_string_equals($this->token, $this->query['token']))) {
              $this->response->outputError403();
          }
      }
code: protected function controlToken($key = null)
      {
          $control = isset($key) ? isset($this->query[$key]) : !empty($this->query);
  
          if ($control && (empty($this->query['token']) || !gplcart_string_equals($this->token, $this->query['token']))) {
              $this->response->outputError403();
          }
      }
code_tokens: protected function controlToken ( $ key = null ) { $ control = isset ( $ key ) ? isset ( $ this -> query [ $ key ] ) : ! empty ( $ this -> query ) ; if ( $ control && ( empty ( $ this -> query [ 'token' ] ) || ! gplcart_string_equals ( $ this -> token , $ this -> query [ 'token' ] ) ) ) { $ this -> response -> outputError403 ( ) ; } }
docstring: Controls token in the URL query
  @param null|string $key
docstring_tokens: Controls token in the URL query