public function MockPathMatcher::__construct

Construct the matcher given the route collection.

Parameters

Symfony\Component\Routing\RouteCollection $routes: The routes being matched.

File

drupal/core/modules/system/lib/Drupal/system/Tests/Routing/MockPathMatcher.php, line 29

Class

MockPathMatcher
Provides a mock path matcher.

Namespace

Drupal\system\Tests\Routing

Code

public function __construct(RouteCollection $routes) {
  $this->routes = $routes;
}