Magento 2 Documentation  2.3
Documentation for Magento 2 CMS v2.3 (December 2018)
SitemapItem.php
Go to the documentation of this file.
1 <?php
7 namespace Magento\Sitemap\Model;
8 
10 {
14  private $url;
15 
19  private $priority;
20 
24  private $changeFrequency;
25 
29  private $images;
30 
34  private $updatedAt;
35 
45  public function __construct($url, $priority, $changeFrequency, $updatedAt = null, $images = null)
46  {
47  $this->url = $url;
48  $this->priority = $priority;
49  $this->changeFrequency = $changeFrequency;
50  $this->updatedAt = $updatedAt;
51  $this->images = $images;
52  }
53 
57  public function getUrl()
58  {
59  return $this->url;
60  }
61 
65  public function getPriority()
66  {
67  return $this->priority;
68  }
69 
73  public function getChangeFrequency()
74  {
75  return $this->changeFrequency;
76  }
77 
81  public function getImages()
82  {
83  return $this->images;
84  }
85 
89  public function getUpdatedAt()
90  {
91  return $this->updatedAt;
92  }
93 }
__construct($url, $priority, $changeFrequency, $updatedAt=null, $images=null)
Definition: SitemapItem.php:45