original_string: protected function resetStateBeforeIndexAction()
      {
          $this->activeSort           = null;
          $this->activeSortDescending = null;
          $this->activeScope          = null;
          $this->filters              = [];
          $this->activePage           = null;
          $this->activePageSize       = null;
          $this->resetActivePage      = false;
  
          return $this;
      }
code: protected function resetStateBeforeIndexAction()
      {
          $this->activeSort           = null;
          $this->activeSortDescending = null;
          $this->activeScope          = null;
          $this->filters              = [];
          $this->activePage           = null;
          $this->activePageSize       = null;
          $this->resetActivePage      = false;
  
          return $this;
      }
code_tokens: protected function resetStateBeforeIndexAction ( ) { $ this -> activeSort = null ; $ this -> activeSortDescending = null ; $ this -> activeScope = null ; $ this -> filters = [ ] ; $ this -> activePage = null ; $ this -> activePageSize = null ; $ this -> resetActivePage = false ; return $ this ; }
docstring: Resets the controller's state before handling the index action.
  
  @return $this
docstring_tokens: Resets the controller s state before handling the index action .