interface GeneratorDumperInterface

GeneratorDumperInterface is the interface that all generator dumper classes must implement.

@author Fabien Potencier <fabien@symfony.com>

@api

Hierarchy

Expanded class hierarchy of GeneratorDumperInterface

All classes that implement GeneratorDumperInterface

File

drupal/core/vendor/symfony/routing/Symfony/Component/Routing/Generator/Dumper/GeneratorDumperInterface.php, line 23

Namespace

Symfony\Component\Routing\Generator\Dumper
View source
interface GeneratorDumperInterface {

  /**
   * Dumps a set of routes to a string representation of executable code
   * that can then be used to generate a URL of such a route.
   *
   * @param array $options An array of options
   *
   * @return string Executable code
   */
  public function dump(array $options = array());

  /**
   * Gets the routes to dump.
   *
   * @return RouteCollection A RouteCollection instance
   */
  public function getRoutes();

}

Members

Namesort descending Modifiers Type Description Overrides
GeneratorDumperInterface::dump public function Dumps a set of routes to a string representation of executable code that can then be used to generate a URL of such a route. 1
GeneratorDumperInterface::getRoutes public function Gets the routes to dump. 1