You are here

public function Request::getMethod in Zircon Profile 8

Same name in this branch
  1. 8 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::getMethod()
  2. 8 vendor/symfony/browser-kit/Request.php \Symfony\Component\BrowserKit\Request::getMethod()
  3. 8 vendor/guzzlehttp/psr7/src/Request.php \GuzzleHttp\Psr7\Request::getMethod()
  4. 8 vendor/jcalderonzumba/gastonjs/src/NetworkTraffic/Request.php \Zumba\GastonJS\NetworkTraffic\Request::getMethod()
Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/psr7/src/Request.php \GuzzleHttp\Psr7\Request::getMethod()

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 96

Class

Request
PSR-7 request implementation.

Namespace

GuzzleHttp\Psr7

Code

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