RssManagerInterface.php 526 B

123456789101112131415161718192021222324252627
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Framework\App\Rss;
  7. /**
  8. * Interface RssManagerInterface
  9. * @package Magento\Framework\App\Rss
  10. */
  11. interface RssManagerInterface
  12. {
  13. /**
  14. * Get Data Provider by type
  15. * @param string $type
  16. * @return DataProviderInterface
  17. */
  18. public function getProvider($type);
  19. /**
  20. * Get all registered providers
  21. *
  22. * @return array
  23. */
  24. public function getProviders();
  25. }