PhpGeneratorDumper
class PhpGeneratorDumper extends GeneratorDumper
PhpGeneratorDumper creates a PHP class able to generate URLs for a given set of routes.
Methods
string
dump(array $options = array())
Dumps a set of routes to a PHP class.
Details
in GeneratorDumper at line line 33
__construct(RouteCollection $routes)
Constructor.
in GeneratorDumper at line line 41
RouteCollection
getRoutes()
Gets the routes to dump.
at line line 34
string
dump(array $options = array())
Dumps a set of routes to a PHP class.
Available options:
- class: The class name
- base_class: The base class name