tikiwiki/packages/tiki-pkg-mediaalchemyst/doctrine/cache/lib/Doctrine/Common/Cache/ClearableCache.php

22 lines
501 B
PHP
Raw Permalink Normal View History

2023-11-20 21:52:04 +01:00
<?php
namespace Doctrine\Common\Cache;
/**
* Interface for cache that can be flushed.
*
* Intended to be used for partial clearing of a cache namespace. For a more
* global "flushing", see {@see FlushableCache}.
*
* @link www.doctrine-project.org
*/
interface ClearableCache
{
/**
* Deletes all cache entries in the current cache namespace.
*
* @return bool TRUE if the cache entries were successfully deleted, FALSE otherwise.
*/
public function deleteAll();
}