<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait httpMethodTrait {
|
/**
|
* @var string An HTTP method that specifies the appropriate HTTP method for a request to an HTTP EntryPoint. Values are capitalized strings as used in HTTP.
|
*/
|
protected string $httpMethod;
|
|
public function getHttpMethod():?string
|
{
|
return $this->httpMethod??null;
|
}
|
public function setHttpMethod(string $httpMethod):void
|
{
|
$this->httpMethod = $httpMethod;
|
}
|
}
|