App::getMethod

Usage

string App::getMethod()

Description


Return Value

Get the HTTP verb (ie. POST, GET, PUT, et al) that is being requested.

Examples

Get Method


$method = $app->getMethod();

See Also