view core/lib/Drupal/Core/Routing/MatcherDumperInterface.php @ 19:fa3358dc1485 tip

Add ndrum files
author Chris Cannam
date Wed, 28 Aug 2019 13:14:47 +0100
parents 4c8ae668cc8c
children
line wrap: on
line 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 a 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);

}