We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a479570 + 61ac029 commit 2b6c443Copy full SHA for 2b6c443
cookbook/routing/method_parameters.rst
@@ -4,6 +4,11 @@
4
How to use HTTP Methods beyond GET and POST in Routes
5
=====================================================
6
7
+.. versionadded:: 2.2
8
+ This functionality is disabled by default in Symfony 2.2. To enable it,
9
+ you must call :method:`Request::enableHttpMethodParameterOverride <Symfony\\Component\\HttpFoundation\\Request::enableHttpMethodParameterOverride>`
10
+ before you handle the request.
11
+
12
The HTTP method of a request is one of the requirements that can be checked
13
when seeing if it matches a route. This is introduced in the routing chapter
14
of the book ":doc:`/book/routing`" with examples using GET and POST. You can
0 commit comments