MatcherDumperInterface.php

Same filename in other branches
  1. 9 core/lib/Drupal/Core/Routing/MatcherDumperInterface.php
  2. 8.9.x core/lib/Drupal/Core/Routing/MatcherDumperInterface.php
  3. 11.x core/lib/Drupal/Core/Routing/MatcherDumperInterface.php

Namespace

Drupal\Core\Routing

File

core/lib/Drupal/Core/Routing/MatcherDumperInterface.php

View source
<?php

namespace Drupal\Core\Routing;

use Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface as SymfonyMatcherDumperInterface;
use Symfony\Component\Routing\RouteCollection;

/**
 * Extends the symfony matcher dumper interface with an addRoutes method.
 */
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);

}

Interfaces

Title Deprecated Summary
MatcherDumperInterface Extends the symfony matcher dumper interface with an addRoutes method.

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