You are here

public function RouteProvider::reset in Drupal 9

Same name in this branch
  1. 9 core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider::reset()
  2. 9 core/lib/Drupal/Core/Routing/RouteProvider.php \Drupal\Core\Routing\RouteProvider::reset()
Same name and namespace in other branches
  1. 8 core/tests/Drupal/KernelTests/RouteProvider.php \Drupal\KernelTests\RouteProvider::reset()

Resets the route provider object.

Overrides RouteProviderInterface::reset

File

core/tests/Drupal/KernelTests/RouteProvider.php, line 90

Class

RouteProvider
Rebuilds the router when the provider is instantiated.

Namespace

Drupal\KernelTests

Code

public function reset() {
  return $this
    ->lazyLoadItself()
    ->reset();
}