Skip to content

Commit e1085c8

Browse files
committed
docs: fix $request->getMethod() return values
Now the method name is lower case by default.
1 parent 6cd0839 commit e1085c8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

user_guide_src/source/concepts/http.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ is an object-oriented representation of the HTTP request. It provides everything
9595
$request->getHeader('host');
9696
$request->getHeader('Content-Type');
9797

98-
$request->getMethod(); // GET, POST, PUT, etc
98+
$request->getMethod(); // get, post, put, etc
9999

100100
The request class does a lot of work in the background for you, that you never need to worry about.
101101
The `isAJAX()` and `isSecure()` methods check several different methods to determine the correct answer.

0 commit comments

Comments
 (0)