public function RequestInterface::setMethod in RESTful 7.2
Set the HTTP method.
Parameters
string $method: The method to set.
1 method overrides RequestInterface::setMethod()
- Request::setMethod in src/
Http/ Request.php - Set the HTTP method.
File
- src/
Http/ RequestInterface.php, line 187 - Contains \Drupal\restful\Http\RequestInterface.
Class
Namespace
Drupal\restful\HttpCode
public function setMethod($method);