SitemapEntry.php 682 B

1234567891011121314151617181920212223242526272829
  1. <?php
  2. namespace Grav\Plugin\Sitemap;
  3. class SitemapEntry
  4. {
  5. public $location;
  6. public $lastmod;
  7. public $changefreq;
  8. public $priority;
  9. public $image;
  10. /**
  11. * SitemapEntry constructor.
  12. *
  13. * @param null $location
  14. * @param null $lastmod
  15. * @param null $changefreq
  16. * @param null $priority
  17. * @param null $image
  18. */
  19. public function __construct($location = null, $lastmod = null, $changefreq = null, $priority = null, $image = null)
  20. {
  21. $this->location = $location;
  22. $this->lastmod = $lastmod;
  23. $this->changefreq = $changefreq;
  24. $this->priority = $priority;
  25. $this->image = $image;
  26. }
  27. }