We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
/test/{id:\d+}/test/{domainId:\d+}/delete
see PR #314 for a failing test
The text was updated successfully, but these errors were encountered:
Any news on this? It also fails when any first parameter contains any regex.
$route = new Route('GET', '/date/{year:\d+}/{month}', static function () { }); $path = $route->getPath([ 'year' => 2000, 'month' => 1 ]); // returns just "date/2000"
This is especially unfortunate if you want to use localized urls like this:
$route = new Route('GET', '/lang/{lang:(?:de|en))}/test/{foo}', static function () { }); $path = $route->getPath([ 'lang' => 'en', 'foo' => 42 ]); // returns just "lang/en"
Sorry, something went wrong.
Sorry for the delay, been dealing with some health issues.
Planning a merge/release session next week so will sort then.
Do you have any update on this issue at all? It seems to be caused when there is more than one wildcard with a matcher.
$route = new \League\Route\Route('GET', '/a/{wildcard}/and/{wildcardWithMatcher:uuid}/and/{anotherWildcardWithMatcher:uuid}', static function () { }); $path = $route->getPath([ 'wildcard' => 'replaced-wildcard', 'wildcardWithMatcher' => 'replaced-wildcard-with-matcher', 'anotherWildcardWithMatcher' => 'replaced-another-wildcard-with-matcher' ]); // returns just "/a/replaced-wildcard/and/replaced-wildcard-with-matcher"
No branches or pull requests
/test/{id:\d+}/test/{domainId:\d+}/delete
see PR #314 for a failing test
The text was updated successfully, but these errors were encountered: