You are here

public function RouteProviderLazyBuilder::reset in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php \Drupal\Core\Routing\RouteProviderLazyBuilder::reset()

Resets the route provider object.

Overrides RouteProviderInterface::reset

File

core/lib/Drupal/Core/Routing/RouteProviderLazyBuilder.php, line 117

Class

RouteProviderLazyBuilder
A Route Provider front-end for all Drupal-stored routes.

Namespace

Drupal\Core\Routing

Code

public function reset() {

  // Don't call getRouteProvider as this is results in recursive rebuilds.
  return $this->routeProvider
    ->reset();
}