GeneratorDumper is the base class for all built-in generator dumpers.
@author Fabien Potencier <fabien@symfony.com>
Expanded class hierarchy of GeneratorDumper
abstract class GeneratorDumper implements GeneratorDumperInterface {
/**
* @var RouteCollection
*/
private $routes;
/**
* Constructor.
*
* @param RouteCollection $routes The RouteCollection to dump
*/
public function __construct(RouteCollection $routes) {
$this->routes = $routes;
}
/**
* {@inheritdoc}
*/
public function getRoutes() {
return $this->routes;
}
}
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
GeneratorDumper:: |
private | property | ||
GeneratorDumper:: |
public | function |
Gets the routes to dump. Overrides GeneratorDumperInterface:: |
|
GeneratorDumper:: |
public | function | Constructor. | |
GeneratorDumperInterface:: |
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 |