function MockRouteProvider::reset
Resets the route provider object.
Overrides RouteProviderInterface::reset
File
-
core/
modules/ system/ src/ Tests/ Routing/ MockRouteProvider.php, line 92
Class
- MockRouteProvider
- Easily configurable mock route provider.
Namespace
Drupal\system\Tests\RoutingCode
public function reset() {
$this->routes = [];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.