comparison core/lib/Drupal/Core/Routing/MatcherDumperInterface.php @ 0:4c8ae668cc8c

Initial import (non-working)
author Chris Cannam
date Wed, 29 Nov 2017 16:09:58 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:4c8ae668cc8c
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 }