class PhpMatcherDumper extends MatcherDumper
PhpMatcherDumper creates a PHP class able to match URLs for a given set of routes.
__construct(RouteCollection $routes) | from MatcherDumper | |
RouteCollection | getRoutes() Gets the routes to dump. | from MatcherDumper |
string | dump(array $options = array()) Dumps a set of routes to a PHP class. | |
addExpressionLanguageProvider(ExpressionFunctionProviderInterface $provider) | ||
static string | export($value) |
RouteCollection | $routes |
Gets the routes to dump.
RouteCollection | A RouteCollection instance |
Dumps a set of routes to a PHP class.
Available options:
array | $options | An array of options |
string | Executable code |
ExpressionFunctionProviderInterface | $provider |
$value |
string |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/Matcher/Dumper/PhpMatcherDumper.html