public function ServerRequest::getMethod in Zircon Profile 8.0
Same name in this branch
- 8.0 vendor/zendframework/zend-diactoros/src/ServerRequest.php \Zend\Diactoros\ServerRequest::getMethod()
- 8.0 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::getMethod()
Same name and namespace in other branches
- 8 vendor/symfony/psr-http-message-bridge/Tests/Fixtures/ServerRequest.php \Symfony\Bridge\PsrHttpMessage\Tests\Fixtures\ServerRequest::getMethod()
Retrieves the HTTP method of the request.
Return value
string Returns the request method.
Overrides RequestInterface::getMethod
File
- vendor/
symfony/ psr-http-message-bridge/ Tests/ Fixtures/ ServerRequest.php, line 58
Class
- ServerRequest
- @author Kévin Dunglas <dunglas@gmail.com>
Namespace
Symfony\Bridge\PsrHttpMessage\Tests\FixturesCode
public function getMethod() {
return $this->method;
}