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();
    }
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();
    }
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 ( ) ; }
Clears all temporary variables used when rendering a menu, so they do not
interfere when rendering other menus.

@return void
Clears all temporary variables used when rendering a menu so they do not interfere when rendering other menus .