30 lines
682 B
PHP
30 lines
682 B
PHP
<?php
|
|
namespace Grav\Plugin\Sitemap;
|
|
|
|
class SitemapEntry
|
|
{
|
|
public $location;
|
|
public $lastmod;
|
|
public $changefreq;
|
|
public $priority;
|
|
public $image;
|
|
|
|
/**
|
|
* SitemapEntry constructor.
|
|
*
|
|
* @param null $location
|
|
* @param null $lastmod
|
|
* @param null $changefreq
|
|
* @param null $priority
|
|
* @param null $image
|
|
*/
|
|
public function __construct($location = null, $lastmod = null, $changefreq = null, $priority = null, $image = null)
|
|
{
|
|
$this->location = $location;
|
|
$this->lastmod = $lastmod;
|
|
$this->changefreq = $changefreq;
|
|
$this->priority = $priority;
|
|
$this->image = $image;
|
|
}
|
|
}
|