MultiDeleteCache.php 463 B

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