<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Traits\_Helpers\arrayHelper;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait encodingTypeTrait {
|
use arrayHelper;
|
/**
|
* @var string|array The supported encoding type(s) for an EntryPoint request.
|
*/
|
protected string|array $encodingType;
|
|
public function getEncodingType():string|array|null
|
{
|
return $this->encodingType??null;
|
}
|
public function setEncodingType(string|array $encodingType):void
|
{
|
if (is_array($encodingType)) {
|
$encodingType = $this->stringArray('encodingType', $encodingType);
|
}
|
$this->encodingType = $encodingType;
|
}
|
}
|