You are here

interface MatcherDumperInterface in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/routing/Matcher/Dumper/MatcherDumperInterface.php \Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface
  2. 8 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface
Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface

Extends the symfony matcher dumper interface with a addRoutes method.

Hierarchy

Expanded class hierarchy of MatcherDumperInterface

All classes that implement MatcherDumperInterface

File

core/lib/Drupal/Core/Routing/MatcherDumperInterface.php, line 16
Contains \Drupal\Core\Routing\MatcherDumperInterface.

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
MatcherDumperInterface::dump public function Dumps a set of routes to a string representation of executable code that can then be used to match a request against these routes. 5
MatcherDumperInterface::getRoutes public function Gets the routes to dump. 4