There was an error while loading. Please reload this page.
3779350
match() now returns the route name.
match()
The result array includes a new name key (string|null):
name
string|null
$match = $router->match('GET', '/users/123'); $match['name']; // 'users.show' or null
No breaking changes.