public function RequestContext::getMethod in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/symfony/routing/RequestContext.php \Symfony\Component\Routing\RequestContext::getMethod()
Gets the HTTP method.
The method is always an uppercased string.
Return value
string The HTTP method
File
- vendor/
symfony/ routing/ RequestContext.php, line 140
Class
- RequestContext
- Holds information about the current request.
Namespace
Symfony\Component\RoutingCode
public function getMethod() {
return $this->method;
}