Closed
Description
Q | A |
---|---|
Bug report? | no |
Feature request? | yes |
BC Break report? | no |
RFC? | no |
Symfony version | 4.0.4 |
While the routing component correctly handles custom HTTP methods, the form component disallow configuring a form with a method which is not GET
, PUT
, POST
, DELETE
, PATCH
.
When trying to create an action with a custom HTTP method, FormConfigBuilder::setMethod
throws an InvalidArgumentException.