<?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 depthTrait {
|
/**
|
* @var Distance|QuantitativeValue The depth of the item.
|
*/
|
protected Distance|QuantitativeValue $depth;
|
|
public function getDepth():Distance|QuantitativeValue|null
|
{
|
return $this->depth??null;
|
}
|
public function setDepth(Distance|QuantitativeValue $depth):void
|
{
|
$this->depth = $depth;
|
}
|
}
|