Skip to content

Request: getMethod Example

Terry L edited this page Jun 18, 2020 · 4 revisions

Extends Message.

getMethod()

  • return string

Example:

echo $request->getMethod();
// Outputs: GET
Clone this wiki locally