public function MatcherDumper::__construct

Same name in this branch
  1. 9.x drupal/core/lib/Drupal/Core/Routing/MatcherDumper.php \Drupal\Core\Routing\MatcherDumper::__construct()
  2. 9.x drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/MatcherDumper.php \Symfony\Component\Routing\Matcher\Dumper\MatcherDumper::__construct()

Constructor.

Parameters

RouteCollection $routes The RouteCollection to dump:

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/MatcherDumper.php, line 30

Class

MatcherDumper
MatcherDumper is the abstract class for all built-in matcher dumpers.

Namespace

Symfony\Component\Routing\Matcher\Dumper

Code

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