HierarchicalPoolInterface.php 586 B

123456789101112131415161718192021222324
  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\Hierarchy;
  11. use Psr\Cache\CacheItemPoolInterface;
  12. /**
  13. * Let you use hierarchy if you start your tag key with the HIERARCHY_SEPARATOR.
  14. *
  15. * @author Tobias Nyholm <tobias.nyholm@gmail.com>
  16. */
  17. interface HierarchicalPoolInterface extends CacheItemPoolInterface
  18. {
  19. const HIERARCHY_SEPARATOR = '|';
  20. }