original_string: protected function _clear()
      {
          $this->_index = 0;
          $this->_count = 0;
          $this->_rendering = false;
          $this->config($this->_defaultConfig);
          $this->Link->config(['breadcrumbGuessing' => $this->_defaultConfig['breadcrumbGuessing']]);
          $this->resetTemplates();
      }
code: protected function _clear()
      {
          $this->_index = 0;
          $this->_count = 0;
          $this->_rendering = false;
          $this->config($this->_defaultConfig);
          $this->Link->config(['breadcrumbGuessing' => $this->_defaultConfig['breadcrumbGuessing']]);
          $this->resetTemplates();
      }
code_tokens: protected function _clear ( ) { $ this -> _index = 0 ; $ this -> _count = 0 ; $ this -> _rendering = false ; $ this -> config ( $ this -> _defaultConfig ) ; $ this -> Link -> config ( [ 'breadcrumbGuessing' => $ this -> _defaultConfig [ 'breadcrumbGuessing' ] ] ) ; $ this -> resetTemplates ( ) ; }
docstring: Clears all temporary variables used when rendering a menu, so they do not
  interfere when rendering other menus.
  
  @return void
docstring_tokens: Clears all temporary variables used when rendering a menu so they do not interfere when rendering other menus .