interface MatcherDumperInterface

Same name in other branches
  1. 9 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface
  2. 8.9.x core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface
  3. 10 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php \Drupal\Core\Routing\MatcherDumperInterface

Extends the symfony matcher dumper interface with an 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

Title Sort descending Modifiers Object type Summary Overrides
MatcherDumperInterface::addRoutes public function Adds additional routes to be dumped. 3

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.