public RouteProvider::reset()
Resets the route provider object.
Overrides RouteProviderInterface::reset
File
- core/lib/Drupal/Core/Routing/RouteProvider.php, line 382
Class
- RouteProvider
- A Route Provider front-end for all Drupal-stored routes.
Namespace
Drupal\Core\Routing
Code
public function reset() { $this->routes = array(); $this->serializedRoutes = array(); $this->cacheTagInvalidator->invalidateTags(['routes']); }
Please login to continue.