WordPress\AiClient\Providers\Http\DTO
Request::getMethod
Gets the HTTP method.
Метод класса: Request{}
Хуков нет.
Возвращает
HttpMethodEnum. The HTTP method.
Использование
$Request = new Request(); $Request->getMethod(): HttpMethodEnum;
Список изменений
| С версии 0.1.0 | Введена. |
Код Request::getMethod() Request::getMethod WP 7.1.4
public function getMethod(): HttpMethodEnum
{
return $this->method;
}