You are here

public function RequestInterface::getMethod in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/psr/http-message/src/RequestInterface.php \Psr\Http\Message\RequestInterface::getMethod()

Retrieves the HTTP method of the request.

Return value

string Returns the request method.

3 methods override RequestInterface::getMethod()
Request::getMethod in vendor/guzzlehttp/psr7/src/Request.php
Retrieves the HTTP method of the request.
ServerRequest::getMethod in vendor/zendframework/zend-diactoros/src/ServerRequest.php
Proxy to receive the request method.
ServerRequest::getMethod in vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.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();