Version 1
[yaffs-website] / web / core / lib / Drupal / Core / Routing / MatcherDumperInterface.php
1 <?php
2
3 namespace Drupal\Core\Routing;
4
5 use Symfony\Component\Routing\Matcher\Dumper\MatcherDumperInterface as SymfonyMatcherDumperInterface;
6 use Symfony\Component\Routing\RouteCollection;
7
8 /**
9  * Extends the symfony matcher dumper interface with a addRoutes method.
10  */
11 interface MatcherDumperInterface extends SymfonyMatcherDumperInterface {
12
13   /**
14    * Adds additional routes to be dumped.
15    *
16    * @param \Symfony\Component\Routing\RouteCollection $routes
17    *   A collection of routes to add to this dumper.
18    */
19   public function addRoutes(RouteCollection $routes);
20
21 }