Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Phly
Http
RequestTrait
getMethod
Phly\Http\RequestTrait::getMethod PHP Method
RequestTrait Trait Documentation
Show file
Open project: phly/http
getMethod()
public
method
Retrieves the HTTP method of the request.
public
getMethod
( ) :
string
return
string
Returns the request method.
public function getMethod() { return $this->method; }
RequestTrait
assertHeaders
getHostFromUri
getMethod
getRequestTarget
getUri
initialize
validateMethod
withMethod
withRequestTarget
withUri