summaryrefslogtreecommitdiffstatshomepage
path: root/core/lib/Drupal/Core/Routing/MatcherDumperInterface.php
blob: 365d987a33fedb10cd87028059e1c4cf94e46f7a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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);

}