You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I wouldn't mind having a factory class. The only preference I have would be naming the factory method something along the lines of "fromUrls", so UrlSetFactory::fromUrls();
Is your feature request related to a problem? Please describe.
reduce need for "boilerplate" functions
Describe the solution you'd like
I found myself implementing static factory functions to easily assemble a SitemapIndex or UrlSet:
Describe alternatives you've considered
Instead of using static factory functions, we might use dedicated factory classes:
Additional context
Implementation is quite trivial, I currently have:
I can provide a PR, would it be considered? Any suggestions / preference?
The text was updated successfully, but these errors were encountered: