LayoutCacheKeyInterface.php 544 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\View\Layout;
  7. /**
  8. * Interface LayoutCacheKeyInterface
  9. */
  10. interface LayoutCacheKeyInterface
  11. {
  12. /**
  13. * Add cache key(s) for generating different cache id for same handles
  14. *
  15. * @param array|string $cacheKeys
  16. * @return void
  17. */
  18. public function addCacheKeys($cacheKeys);
  19. /**
  20. * Return cache keys array
  21. *
  22. * @return array
  23. */
  24. public function getCacheKeys();
  25. }