예제 #1
0
파일: Environment.php 프로젝트: bolt/bolt
 /**
  * Check Bolt's version against a cached key. If there is a change we flush
  * the cache data and if required synchronise asset directories.
  */
 public function checkVersion()
 {
     if ($this->checkCacheVersion()) {
         return;
     }
     $this->syncView();
     $this->cache->flushAll();
     $this->updateAutoloader();
     $this->updateCacheVersion();
 }
예제 #2
0
 public function tearDown()
 {
     $this->cache->flushAll();
     $this->clean($this->workspace);
 }