interface 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
MatcherDumper.php in drupal/core/lib/Drupal/Core/Routing/MatcherDumper.php
Definition of Drupal\Core\Routing\MatcherDumper.
RouteBuilder.php in drupal/core/lib/Drupal/Core/Routing/RouteBuilder.php
Definition of Drupal\Core\Routing\RouteBuilder.

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Matcher/Dumper/MatcherDumperInterface.php, line 19

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. 3
MatcherDumperInterface::getRoutes public function Gets the routes to dump. 2