You are here

public function RequestInterface::getMethod in Lockr 7.3

Retrieves the HTTP method of the request.

Return value

string Returns the request method.

1 method overrides RequestInterface::getMethod()
Request::getMethod in vendor/guzzlehttp/psr7/src/Request.php
Retrieves the HTTP method of the request.

File

vendor/psr/http-message/src/RequestInterface.php, line 68

Class

RequestInterface
Representation of an outgoing, client-side request.

Namespace

Psr\Http\Message

Code

public function getMethod();