W3cubDocs

/PHP

Yaf_Request_Abstract::getMethod

(Yaf >=1.0.0)

Yaf_Request_Abstract::getMethodRetrieve the request method

Description

public Yaf_Request_Abstract::getMethod ( ) : string

Parameters

This function has no parameters.

Return Values

Return a string, like "POST", "GET" etc.

See Also

© 1997–2020 The PHP Documentation Group
Licensed under the Creative Commons Attribution License v3.0 or later.
https://www.php.net/manual/en/yaf-request-abstract.getmethod.php