doFlush() 보호된 메소드

Clear the cache. Both the doctrine FilesystemCache, as well as twig and thumbnail temp files.
protected doFlush ( ) : boolean
리턴 boolean
예제 #1
0
 /**
  * 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->doFlush();
     $this->updateCacheVersion();
 }
예제 #2
0
파일: CacheTest.php 프로젝트: archayl/bolt
 public function tearDown()
 {
     $this->cache->doFlush();
     $this->clean($this->workspace);
 }