MockRouteProvider::$routes

Same name and namespace in other branches
  1. 9 core/modules/system/src/Tests/Routing/MockRouteProvider.php \Drupal\system\Tests\Routing\MockRouteProvider::routes
  2. 10 core/modules/system/src/Tests/Routing/MockRouteProvider.php \Drupal\system\Tests\Routing\MockRouteProvider::routes
  3. 11.x core/modules/system/src/Tests/Routing/MockRouteProvider.php \Drupal\system\Tests\Routing\MockRouteProvider::routes

A collection of routes for this route provider.

Type: \Symfony\Component\Routing\RouteCollection

File

core/modules/system/src/Tests/Routing/MockRouteProvider.php, line 20

Class

MockRouteProvider
Easily configurable mock route provider.

Namespace

Drupal\system\Tests\Routing

Code

protected $routes;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.