Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add public constants for available changeFreq #74

Open
JohJohan opened this issue Sep 5, 2023 · 0 comments
Open

Add public constants for available changeFreq #74

JohJohan opened this issue Sep 5, 2023 · 0 comments

Comments

@JohJohan
Copy link

JohJohan commented Sep 5, 2023

Is your feature request related to a problem? Please describe.
It would be nice to have constants for changeFreq available options are: always hourly daily weekly monthly yearly never

Describe the solution you'd like
In Url.php add constants for changeFreq

public const CHANGE_FREQ_HOURLY = 'hourly'

We could then also have the setter validate if the set is valid?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant