mini\Http\Message\ServerRequest::getMethod() Method

public

Signature

public function getMethod(): string

Returns

string

Documentation

Retrieves the HTTP method of the request.

Source

src/Http/Message/RequestTrait.php:101-103