Problem/Motivation
The new route match is a concept which is not bound to drupal itself. On the other hand it is a great tool to decouple your
code from needing the request in all kind of places.
On the other hand this makes code less compatible with other PHP folks code out there.
Proposed resolution
Move the Route match into the \code>\Drupal\component\Routingnamespace, so one day it can be shared using composer.
Remaining tasks
User interface changes
API changes
Original report by @effulgentsia
Did we actually ever considered to move the routeMatch interface into Drupal/Component? This could be really useful for other code as well and allows people to write generic libraries without pulling in all of drupal.