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/symfony/browser-kit/Request.php \Symfony\Component\BrowserKit\Request::getMethod()

Gets the request HTTP method.

Return value

string The request HTTP method

File

vendor/symfony/browser-kit/Request.php, line 66

Class

Request
Request object.

Namespace

Symfony\Component\BrowserKit

Code

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