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 vendor/symfony/routing/Matcher/Dumper/MatcherDumperInterface.php \Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface

MatcherDumperInterface is the interface that all matcher dumper classes must implement.

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of MatcherDumperInterface

All classes that implement MatcherDumperInterface

2 files declare their use of MatcherDumperInterface
MatcherDumperInterface.php in core/lib/Drupal/Core/Routing/MatcherDumperInterface.php
Contains \Drupal\Core\Routing\MatcherDumperInterface.
Router.php in vendor/symfony/routing/Router.php

File

vendor/symfony/routing/Matcher/Dumper/MatcherDumperInterface.php, line 21

Namespace

Symfony\Component\Routing\Matcher\Dumper
View source
interface MatcherDumperInterface {

  /**
   * Dumps a set of routes to a string representation of executable code
   * that can then be used to match a request against these routes.
   *
   * @param array $options An array of options
   *
   * @return string Executable code
   */
  public function dump(array $options = array());

  /**
   * Gets the routes to dump.
   *
   * @return RouteCollection A RouteCollection instance
   */
  public function getRoutes();

}

Members

Namesort descending Modifiers Type Description Overrides
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