<?php
|
namespace JVBase\managers\SEO\render\Traits\_Properties;
|
|
use JVBase\managers\SEO\render\Thing\Intangible\Quantity\Distance;
|
use JVBase\managers\SEO\render\Thing\Intangible\StructuredValue\QuantitativeValue;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait heightTrait {
|
/**
|
* @var Distance|QuantitativeValue The height of the item.
|
*/
|
protected Distance|QuantitativeValue $height;
|
|
public function getHeight():Distance|QuantitativeValue|null
|
{
|
return $this->height??null;
|
}
|
public function setHeight(Distance|QuantitativeValue $height):void
|
{
|
$this->height = $height;
|
}
|
}
|