You are here

interface MatcherDumperInterface in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface
  2. 10 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface

Extends the symfony matcher dumper interface with a addRoutes method.

Hierarchy

  • interface \Drupal\Core\Routing\MatcherDumperInterface extends \Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface

Expanded class hierarchy of MatcherDumperInterface

All classes that implement MatcherDumperInterface

File

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

Namespace

Drupal\Core\Routing
View source
interface MatcherDumperInterface extends SymfonyMatcherDumperInterface {

  /**
   * Adds additional routes to be dumped.
   *
   * @param \Symfony\Component\Routing\RouteCollection $routes
   *   A collection of routes to add to this dumper.
   */
  public function addRoutes(RouteCollection $routes);

}

Members

Namesort descending Modifiers Type Description Overrides
MatcherDumperInterface::addRoutes public function Adds additional routes to be dumped. 3