Chris@0: . Chris@0: */ Chris@0: Chris@0: namespace Doctrine\Common\Cache; Chris@0: Chris@0: /** Chris@0: * Interface for cache that can be flushed. Chris@0: * Chris@0: * Intended to be used for partial clearing of a cache namespace. For a more Chris@0: * global "flushing", see {@see FlushableCache}. Chris@0: * Chris@0: * @link www.doctrine-project.org Chris@0: * @since 1.4 Chris@0: * @author Adirelle Chris@0: */ Chris@0: interface ClearableCache Chris@0: { Chris@0: /** Chris@0: * Deletes all cache entries in the current cache namespace. Chris@0: * Chris@0: * @return bool TRUE if the cache entries were successfully deleted, FALSE otherwise. Chris@0: */ Chris@0: public function deleteAll(); Chris@0: }