<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait unitCodeTrait {
|
/**
|
* @var string The unit of measurement given using the UN/CEFACT Common Code (3 characters) or a URL. Other codes than the UN/CEFACT Common Code may be used with a prefix followed by a colon.
|
*/
|
protected string $unitCode;
|
|
public function getUnitCode():?string
|
{
|
return $this->unitCode??null;
|
}
|
public function setUnitCode(string $unitCode):void
|
{
|
$this->unitCode = $unitCode;
|
}
|
}
|