FlushableCache.php 350 B

123456789101112131415161718
  1. <?php
  2. namespace Doctrine\Common\Cache;
  3. /**
  4. * Interface for cache that can be flushed.
  5. *
  6. * @link www.doctrine-project.org
  7. */
  8. interface FlushableCache
  9. {
  10. /**
  11. * Flushes all cache entries, globally.
  12. *
  13. * @return bool TRUE if the cache entries were successfully flushed, FALSE otherwise.
  14. */
  15. public function flushAll();
  16. }