public function clearCache($reactivateModules = true)
    {
        $this->routes = array();
        
        if ($reactivateModules) {
            $this->framework->getModuleManager()->reactivateModules();
        }
    }
public function clearCache($reactivateModules = true)
    {
        $this->routes = array();
        
        if ($reactivateModules) {
            $this->framework->getModuleManager()->reactivateModules();
        }
    }
public function clearCache ( $ reactivateModules = true ) { $ this -> routes = array ( ) ; if ( $ reactivateModules ) { $ this -> framework -> getModuleManager ( ) -> reactivateModules ( ) ; } }
Clears the route cache and reactivates the modules
to rebuild the cache.

@access public
@param boolean $reactivateModules
Clears the route cache and reactivates the modules to rebuild the cache .