You are here

public function Request::getMethod in Lockr 7.3

Retrieves the HTTP method of the request.

Return value

string Returns the request method.

Overrides RequestInterface::getMethod

File

vendor/guzzlehttp/psr7/src/Request.php, line 87

Class

Request
PSR-7 request implementation.

Namespace

GuzzleHttp\Psr7

Code

public function getMethod() {
  return $this->method;
}