Would there be any benefit to create a simple PrefixProviderInterface with a single public method getPrefixes and typehinting on that?

My thought is this could allow the creation of say a DomainAwarePrefixProvider that could have access to the Request and provide prefixes based on the current domain. It would also help decouple the route provider from this class.