original_string: public function current($model = null)
      {
          $params = $this->params($model);
  
          if (isset($params['page'])) {
              return $params['page'];
          }
  
          return 1;
      }
code: public function current($model = null)
      {
          $params = $this->params($model);
  
          if (isset($params['page'])) {
              return $params['page'];
          }
  
          return 1;
      }
code_tokens: public function current ( $ model = null ) { $ params = $ this -> params ( $ model ) ; if ( isset ( $ params [ 'page' ] ) ) { return $ params [ 'page' ] ; } return 1 ; }
docstring: Gets the current page of the recordset for the given model
  
  @param string|null $model Optional model name. Uses the default if none is specified.
  @return int The current page number of the recordset.
  @link https://book.cakephp.org/3.0/en/views/helpers/paginator.html#checking-the-pagination-state
docstring_tokens: Gets the current page of the recordset for the given model