public function MockRouteProvider::reset in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/system/src/Tests/Routing/MockRouteProvider.php \Drupal\system\Tests\Routing\MockRouteProvider::reset()
Resets the route provider object.
Overrides RouteProviderInterface::reset
File
- core/
modules/ system/ src/ Tests/ Routing/ MockRouteProvider.php, line 95 - Contains \Drupal\system\Tests\Routing\MockRouteProvider.
Class
- MockRouteProvider
- Easily configurable mock route provider.
Namespace
Drupal\system\Tests\RoutingCode
public function reset() {
$this->routes = array();
}