Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
Add helper function for getting all sitemaps for the index. #103
Which feature is your enhancement request related to?
Describe the solution you'd like
At present, we've not abstracted this into a separate functional method since it's not reused anywhere else in the codebase, nor would we expect it to be needed for implementations extending or modifying the core functionality, and would introduce backwards compatibility concerns. However, as described in #102 (comment), abstracting this important functionality would make it easier to test and prevent possible future bugs from being introduced, like #102, during code refactoring.
Note that the use of the splat operator makes this functionality only compatible for PHP 5.6+. To extend compatibility to earlier versions, this could be modified to use
Add the relevant acceptance criteria here.