SitemapItemInterface.php 880 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657
  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. * Representation of sitemap item
  9. *
  10. * @api
  11. * @since 100.3.0
  12. */
  13. interface SitemapItemInterface
  14. {
  15. /**
  16. * Get url
  17. *
  18. * @return string
  19. * @since 100.3.0
  20. */
  21. public function getUrl();
  22. /**
  23. * Get priority
  24. *
  25. * @return string
  26. * @since 100.3.0
  27. */
  28. public function getPriority();
  29. /**
  30. * Get change frequency
  31. *
  32. * @return string
  33. * @since 100.3.0
  34. */
  35. public function getChangeFrequency();
  36. /**
  37. * Get images
  38. *
  39. * @return array|null
  40. * @since 100.3.0
  41. */
  42. public function getImages();
  43. /**
  44. * Get last update date
  45. *
  46. * @return string|null
  47. * @since 100.3.0
  48. */
  49. public function getUpdatedAt();
  50. }