/**
  * @see sfProjectConfiguration
  */
 public function setCacheDir($cacheDir)
 {
     parent::setCacheDir($cacheDir);
     sfConfig::add(array('sf_app_base_cache_dir' => $cacheDir . DIRECTORY_SEPARATOR . $this->getApplication(), 'sf_app_cache_dir' => $appCacheDir = $cacheDir . DIRECTORY_SEPARATOR . $this->getApplication() . DIRECTORY_SEPARATOR . $this->getEnvironment(), 'sf_template_cache_dir' => $appCacheDir . DIRECTORY_SEPARATOR . 'template', 'sf_i18n_cache_dir' => $appCacheDir . DIRECTORY_SEPARATOR . 'i18n', 'sf_config_cache_dir' => $appCacheDir . DIRECTORY_SEPARATOR . 'config', 'sf_test_cache_dir' => $appCacheDir . DIRECTORY_SEPARATOR . 'test', 'sf_module_cache_dir' => $appCacheDir . DIRECTORY_SEPARATOR . 'modules'));
 }