class PhpGeneratorDumper extends GeneratorDumper
PhpGeneratorDumper creates a PHP class able to generate URLs for a given set of routes.
Methods
|
__construct(RouteCollection $routes)
Constructor. |
from GeneratorDumper | |
| RouteCollection |
getRoutes()
Gets the routes to dump. |
from GeneratorDumper |
| string |
dump(array $options = array())
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. |
Details
in GeneratorDumper at line 33
public
__construct(RouteCollection $routes)
Constructor.
in GeneratorDumper at line 41
public RouteCollection
getRoutes()
Gets the routes to dump.
at line 38
public string
dump(array $options = array())
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.