You are here

interface GeneratorDumperInterface in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/symfony/routing/Generator/Dumper/GeneratorDumperInterface.php \Symfony\Component\Routing\Generator\Dumper\GeneratorDumperInterface

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

@author Fabien Potencier <fabien@symfony.com>

Hierarchy

Expanded class hierarchy of GeneratorDumperInterface

All classes that implement GeneratorDumperInterface

1 file declares its use of GeneratorDumperInterface
Router.php in vendor/symfony/routing/Router.php

File

vendor/symfony/routing/Generator/Dumper/GeneratorDumperInterface.php, line 21

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