protected function _spawnDb() { $modelSet = $this->getModelSet(); $progress = $this->_getFeedbackInstance(); $progress->displayHeader("Database"); $dbManager = Garp_Spawn_MySql_Manager::getInstance($progress); $dbManager->setInteractive($this->getFeedback()->isInteractive()); $dbManager->run($modelSet); $cacheDir = $this->_getCacheDir(); Garp_Cache_Manager::purgeStaticCache(null, $cacheDir); Garp_Cache_Manager::purgeMemcachedCache(null); if ($this->getFeedback()->isInteractive()) { Garp_Cli::lineOut("All cache purged."); } }