Make RouteAnnotationEventListener more extensible
Make RouteAnnotationEventListener more extensible

An extending class might want to access or filter the routes used
in generating the sitemap. Opening the $router property from private
to protected and wrapping it in a protected getter allows the child
class to influence (e.g. filter) the route collection before it is
used by addUrlsFromRoutes().

prestaconcept/PrestaSitemapBundle