Gets the real route provider service and rebuilds the router id necessary.
\Drupal\Core\Routing\RouteProviderInterface The route provider service.
protected function getRouteProvider() { if (!$this->rebuilt && !$this->rebuilding) { $this->routeBuilder ->rebuild(); } return $this->routeProvider; }