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
Describe the bug A clear and concise description of what the bug is. Router parts cannot be unset, if matches parts are optional
To Reproduce The Annotation Route Prefix
/** * @RoutePrefix('/soundcolumn') */
The Annotation Route Method with 2 optional parts
/** * @Get('{id:(/[0-9]+)?}{slug:(/.+)?}') */
When request with /soundcolumn, assume the id and slug are unset. The following is the result from $router->getParams()
( [namespace] => App\Controller [controller] => sound_column [action] => show [id] => 1 [slug] => 2 )
Expected behavior When request with /soundcolumn, assume the id and slug are unset
Details
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Describe the bug
A clear and concise description of what the bug is.
Router parts cannot be unset, if matches parts are optional
To Reproduce
The Annotation Route Prefix
The Annotation Route Method with 2 optional parts
When request with /soundcolumn, assume the id and slug are unset.
The following is the result from $router->getParams()
Expected behavior
When request with /soundcolumn, assume the id and slug are unset
Details
The text was updated successfully, but these errors were encountered: