ConfigInterface.php 599 B

123456789101112131415161718192021222324252627282930
  1. <?php
  2. /**
  3. * Cache configuration model. Provides cache configuration data to the application
  4. *
  5. * Copyright © Magento, Inc. All rights reserved.
  6. * See COPYING.txt for license details.
  7. */
  8. namespace Magento\Framework\Cache;
  9. /**
  10. * Interface \Magento\Framework\Cache\ConfigInterface
  11. *
  12. */
  13. interface ConfigInterface
  14. {
  15. /**
  16. * Get configuration of all cache types
  17. *
  18. * @return array
  19. */
  20. public function getTypes();
  21. /**
  22. * Get configuration of specified cache type
  23. *
  24. * @param string $type
  25. * @return array
  26. */
  27. public function getType($type);
  28. }