MultiDeleteCache.php 466 B

12345678910111213141516171819202122
  1. <?php
  2. namespace Doctrine\Common\Cache;
  3. /**
  4. * Interface for cache drivers that allows to put many items at once.
  5. *
  6. * @deprecated
  7. *
  8. * @link www.doctrine-project.org
  9. */
  10. interface MultiDeleteCache
  11. {
  12. /**
  13. * Deletes several cache entries.
  14. *
  15. * @param string[] $keys Array of keys to delete from cache
  16. *
  17. * @return bool TRUE if the operation was successful, FALSE if it wasn't.
  18. */
  19. public function deleteMultiple(array $keys);
  20. }