You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Sep 16, 2021. It is now read-only.
Looks like a valid feature to me. Feel free to PR - you will just have to add the key to the loader(s) and ensure that the (PHPCR-ODM) adapter persists the method on the Route object (which already has a method setMethods(array $methods) iirc)
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I want to match a different controller action for each HTTP method on a single URI.
The nicest way to do this might be:
As the uri_schema key is validated by the YmlFileLoader but not handled as a mapping key, I tried this:
But the methods key is not handled.
What's the good way to add HTTP method requirements like with the standard Symfony router ?
The text was updated successfully, but these errors were encountered: