MatcherDumperInterface.php 576 B

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