public function Request::setMethod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/http-foundation/Request.php \Symfony\Component\HttpFoundation\Request::setMethod()
Sets the request method.
Parameters
string $method:
File
- vendor/
symfony/ http-foundation/ Request.php, line 1254
Class
- Request
- Request represents an HTTP request.
Namespace
Symfony\Component\HttpFoundationCode
public function setMethod($method) {
$this->method = null;
$this->server
->set('REQUEST_METHOD', $method);
}