You are here

public function MatcherDumperInterface::addRoutes in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface::addRoutes()
  2. 9 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface::addRoutes()

Adds additional routes to be dumped.

Parameters

\Symfony\Component\Routing\RouteCollection $routes: A collection of routes to add to this dumper.

1 method overrides MatcherDumperInterface::addRoutes()
MatcherDumper::addRoutes in core/lib/Drupal/Core/ProxyClass/Routing/MatcherDumper.php
Adds additional routes to be dumped.

File

core/lib/Drupal/Core/Routing/MatcherDumperInterface.php, line 19

Class

MatcherDumperInterface
Extends the symfony matcher dumper interface with an addRoutes method.

Namespace

Drupal\Core\Routing

Code

public function addRoutes(RouteCollection $routes);