You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

34 lines
729 B

2 years ago
  1. <?php
  2. /*
  3. * This file is part of php-cache organization.
  4. *
  5. * (c) 2015 Aaron Scherer <aequasi@gmail.com>, Tobias Nyholm <tobias.nyholm@gmail.com>
  6. *
  7. * This source file is subject to the MIT license that is bundled
  8. * with this source code in the file LICENSE.
  9. */
  10. namespace Cache\Adapter\Common;
  11. use Cache\TagInterop\TaggableCacheItemPoolInterface;
  12. /**
  13. * @author Tobias Nyholm <tobias.nyholm@gmail.com>
  14. */
  15. interface PhpCachePool extends TaggableCacheItemPoolInterface
  16. {
  17. /**
  18. * {@inheritdoc}
  19. *
  20. * @return PhpCacheItem
  21. */
  22. public function getItem($key);
  23. /**
  24. * {@inheritdoc}
  25. *
  26. * @return array|\Traversable|PhpCacheItem[]
  27. */
  28. public function getItems(array $keys = []);
  29. }