flushAll() public method

{@inheritDoc}
public flushAll ( )
Example #1
0
 public function clear()
 {
     if (!$this->hasNamespace()) {
         $this->doctrineCache->flushAll();
     } else {
         $this->withNamespace()->deleteAll();
     }
 }
 /**
  * Flush all cache entries
  *
  * @access public
  * @return void
  */
 public function flush()
 {
     if ($this->flush_namespace) {
         $this->adapted_provider->deleteAll();
     } else {
         $this->adapted_provider->flushAll();
     }
 }
Example #3
0
 /**
  * Flushes cached "configurable" flags for all configs.
  *
  * @return bool TRUE if the cache entries were successfully flushed; otherwise, FALSE.
  */
 public function flushAllConfigurable()
 {
     $this->localModelCache = [];
     return $this->modelCache->flushAll();
 }
Example #4
0
 public function flush()
 {
     $this->storage = array();
     return $this->engine->flushAll();
 }
Example #5
0
 /**
  * {@inheritdoc}
  */
 public function flushAll()
 {
     return $this->provider->flushAll();
 }
 /**
  * Clears all stored items in Cache.
  *
  * @return boolean true on success.
  */
 public function flushCache()
 {
     return $this->cache->flushAll();
 }
Example #7
0
 /**
  *
  */
 public function deleteAll()
 {
     $this->setList([]);
     $this->cache->flushAll();
 }
 /**
  * Clear the cache.
  */
 protected function clearCache()
 {
     self::$cache->flushAll();
 }
Example #9
0
 /**
  * {@inheritdoc}
  */
 public function clear()
 {
     return $this->cache->flushAll();
 }
Example #10
0
 /**
  * Clear the cache.
  */
 public function clearCache()
 {
     self::$cache->flushAll();
 }
 /**
  *
  */
 public function flushAll()
 {
     $this->cache->flushAll();
 }