Esempio n. 1
0
 /**
  * {@inheritdoc}
  */
 public function clear(array $tags = [])
 {
     if (!empty($tags)) {
         foreach ($tags as $tag) {
             $this->flushTag($tag);
         }
         return true;
     }
     return $this->pool->clear();
 }
 /**
  * Deletes all items in the pool.
  *
  * @return bool
  *   True if the pool was successfully cleared. False if there was an error.
  */
 public function clear()
 {
     return $this->local->clear() && $this->remote->clear();
 }
Esempio n. 3
0
 /**
  * {@inheritdoc}
  */
 public function clear()
 {
     return $this->pool->clear();
 }
Esempio n. 4
0
 /**
  * Clean the cache
  *
  */
 public function cleanI()
 {
     $this->checkInit();
     $this->cache->clear();
 }
 /**
  * {@inheritdoc}
  */
 public function clear(array $tags = [])
 {
     return $this->cache->clear($tags);
 }
 public function clear()
 {
     return $this->decorated->clear();
 }
Esempio n. 7
0
 /**
  * {@inheritdoc}
  */
 public function clear()
 {
     return $this->defaultAdapter->clear();
 }