SitemapConfigReaderInterface.php 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <?php
  2. /**
  3. * Copyright © Magento, Inc. All rights reserved.
  4. * See COPYING.txt for license details.
  5. */
  6. namespace Magento\Sitemap\Model;
  7. /**
  8. * Sitemap config reader interface
  9. *
  10. * @api
  11. * @since 100.3.0
  12. */
  13. interface SitemapConfigReaderInterface
  14. {
  15. /**
  16. * Get enable Submission to Robots.txt
  17. *
  18. * @param int $storeId
  19. * @return int
  20. * @since 100.3.0
  21. */
  22. public function getEnableSubmissionRobots($storeId);
  23. /**
  24. * Get maximum sitemap.xml file size in bytes
  25. *
  26. * @param int $storeId
  27. * @return int
  28. * @since 100.3.0
  29. */
  30. public function getMaximumFileSize($storeId);
  31. /**
  32. * Get maximum sitemap.xml URLs number
  33. *
  34. * @param int $storeId
  35. * @return int
  36. * @since 100.3.0
  37. */
  38. public function getMaximumLinesNumber($storeId);
  39. /**
  40. * Get product image include policy
  41. *
  42. * @param int $storeId
  43. * @return string
  44. * @since 100.3.0
  45. */
  46. public function getProductImageIncludePolicy($storeId);
  47. /**
  48. * Get list valid paths for generate a sitemap XML file
  49. *
  50. * @return string[]
  51. * @since 100.3.0
  52. */
  53. public function getValidPaths();
  54. }