Subject: | small documentation bug |
The Search::Sitemap documentation says that the urls() function returns
(an array of) Search::Sitemap::URL objects.
It actually seems to return a Search::Sitemap::URLStore object, so to
get an array of Search::Sitemap::URL objects you need to do
$map->urls()->all() instead of simply $map->urls()