class PhpGeneratorDumper extends GeneratorDumper
PhpGeneratorDumper creates a PHP class able to generate URLs for a given set of routes.
__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 PHP class. |
Constructor.
Gets the routes to dump.
Dumps a set of routes to a PHP class.
Available options:
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/2.7/Symfony/Component/Routing/Generator/Dumper/PhpGeneratorDumper.html