Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions src/Url.php
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,14 @@

class Url implements VisitorInterface
{
public const CHANGE_FREQ_ALWAYS = 'always';
public const CHANGE_FREQ_HOURLY = 'hourly';
public const CHANGE_FREQ_DAILY = 'daily';
public const CHANGE_FREQ_WEEKLY = 'weekly';
public const CHANGE_FREQ_MONTHLY = 'monthly';
public const CHANGE_FREQ_YEARLY = 'yearly';
public const CHANGE_FREQ_NEVER = 'never';

/**
* Location (URL).
*
Expand All @@ -24,6 +32,7 @@ class Url implements VisitorInterface

/**
* Change frequency of the location.
* @see constants CHANGE_FREQ_*
*
* @var string
*/
Expand Down Expand Up @@ -81,6 +90,8 @@ public function getChangeFreq()
}

/**
* @see constants CHANGE_FREQ_*
*
* @param string $changeFreq
*/
public function setChangeFreq(string $changeFreq)
Expand Down