Jake Vanderwerf
9 days ago ed57c386db34d8693ca75311972d0929ebe5f488
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?php
namespace JVBase\managers\SEO\render\Traits\_Properties;
 
if (!defined('ABSPATH')) {
    exit;
}
trait sugarContentTrait {
    /**
     * @var int|float The number of grams of sugar
     */
    protected int|float $sugarContent;
 
    public function getSugarContent():int|float|null
    {
        return $this->sugarContent??null;
    }
    public function setSugarContent(int|float $sugarContent):void
    {
        $this->sugarContent = $sugarContent;
    }
}