Matcher\Dumper\ApacheMatcherDumper (Component\Routing)
Symfony\Component\Routing\Matcher\Dumper\ApacheMatcherDumper
class ApacheMatcherDumper extends MatcherDumper
Dumps a set of Apache mod_rewrite rules.
Methods
__construct(RouteCollection $routes) Constructor. | from MatcherDumper | |
RouteCollection | getRoutes() Gets the routes to dump. | from MatcherDumper |
string | dump(array $options = array()) Dumps a set of Apache mod_rewrite rules. |
Details
public __construct(RouteCollection $routes)
Constructor.
public RouteCollection getRoutes()
Gets the routes to dump.
public string dump(array $options = array())
Dumps a set of Apache mod_rewrite rules.
Available options:
- script_name: The script name (app.php by default)
- base_uri: The base URI ("" by default)
© 2004–2016 Fabien Potencier
Licensed under the MIT License.
http://api.symfony.com/3.0/Symfony/Component/Routing/Matcher/Dumper/ApacheMatcherDumper.html