本文整理汇总了PHP中Doctrine\Common\Cache\CacheProvider::flushAll方法的典型用法代码示例。如果您正苦于以下问题:PHP CacheProvider::flushAll方法的具体用法?PHP CacheProvider::flushAll怎么用?PHP CacheProvider::flushAll使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类Doctrine\Common\Cache\CacheProvider
的用法示例。
在下文中一共展示了CacheProvider::flushAll方法的11个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的PHP代码示例。
示例1: clear
public function clear()
{
if (!$this->hasNamespace()) {
$this->doctrineCache->flushAll();
} else {
$this->withNamespace()->deleteAll();
}
}
示例2: flush
/**
* Flush all cache entries
*
* @access public
* @return void
*/
public function flush()
{
if ($this->flush_namespace) {
$this->adapted_provider->deleteAll();
} else {
$this->adapted_provider->flushAll();
}
}
示例3: flushAllConfigurable
/**
* 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();
}
示例4: flush
public function flush()
{
$this->storage = array();
return $this->engine->flushAll();
}
示例5: flushAll
/**
* {@inheritdoc}
*/
public function flushAll()
{
return $this->provider->flushAll();
}
示例6: flushCache
/**
* Clears all stored items in Cache.
*
* @return boolean true on success.
*/
public function flushCache()
{
return $this->cache->flushAll();
}
示例7: deleteAll
/**
*
*/
public function deleteAll()
{
$this->setList([]);
$this->cache->flushAll();
}
示例8: clearCache
/**
* Clear the cache.
*/
protected function clearCache()
{
self::$cache->flushAll();
}
示例9: clear
/**
* {@inheritdoc}
*/
public function clear()
{
return $this->cache->flushAll();
}
示例10: clearCache
/**
* Clear the cache.
*/
public function clearCache()
{
self::$cache->flushAll();
}
示例11: flushAll
/**
*
*/
public function flushAll()
{
$this->cache->flushAll();
}