abstract class GeneratorDumper in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/symfony/routing/Generator/Dumper/GeneratorDumper.php \Symfony\Component\Routing\Generator\Dumper\GeneratorDumper
GeneratorDumper is the base class for all built-in generator dumpers.
@author Fabien Potencier <fabien@symfony.com>
Hierarchy
- class \Symfony\Component\Routing\Generator\Dumper\GeneratorDumper implements GeneratorDumperInterface
Expanded class hierarchy of GeneratorDumper
File
- vendor/
symfony/ routing/ Generator/ Dumper/ GeneratorDumper.php, line 21
Namespace
Symfony\Component\Routing\Generator\DumperView source
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;
}
}
Members
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 |