class StaticPrefixCollection
Prefix tree of routes preserving routes order.
__construct(string $prefix = '/') | ||
string | getPrefix() | |
array | getRoutes() | |
addRoute(string $prefix, $route) Adds a route to a group. | ||
RouteCollection | populateCollection(RouteCollection $routes) Linearizes back a set of nested routes into a collection. | |
static | handleError($type, $msg) |
string | $prefix |
string |
array |
Adds a route to a group.
string | $prefix | |
$route |
Linearizes back a set of nested routes into a collection.
RouteCollection | $routes |
RouteCollection |
$type | ||
$msg |
© 2004–2017 Fabien Potencier
Licensed under the MIT License.
https://api.symfony.com/4.1/Symfony/Component/Routing/Matcher/Dumper/StaticPrefixCollection.html