Jake Vanderwerf
2026-03-03 772462eeca3002a1d52508aeba485aab2b4742ad
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
<?php
namespace JVBase\managers\SEO\render\Traits\_Properties;
 
use JVBase\managers\SEO\render\Thing\Intangible\DefinedTerm;
use JVBase\managers\SEO\render\Thing\Intangible\Enumeration\SizeSpecification;
use JVBase\managers\SEO\render\Thing\Intangible\StructuredValue\QuantitativeValue;
 
if (!defined('ABSPATH')) {
    exit;
}
trait sizeTrait {
    /**
     * @var DefinedTerm|QuantitativeValue|SizeSpecification|string A standardized size of a product or creative work, specified either through a simple textual string (for example 'XL', '32Wx34L'), a QuantitativeValue with a unitCode, or a comprehensive and structured SizeSpecification; in other cases, the width, height, depth and weight properties may be more applicable.
     */
    protected DefinedTerm|QuantitativeValue|SizeSpecification|string $size;
 
    public function getSize():DefinedTerm|QuantitativeValue|SizeSpecification|string|null
    {
        return $this->size??null;
    }
    public function setSize(DefinedTerm|QuantitativeValue|SizeSpecification|string $size):void
    {
        $this->size = $size;
    }
}