Jake Vanderwerf
9 days ago 47e77f9fac1155c536b2b87fec552c7fcce66fa6
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 caloriesTrait {
    /**
     * @var int|float The number of calories.
     */
    protected int|float $calories;
 
    public function getCalories():int|float|null
    {
        return $this->calories??null;
    }
    public function setCalories(int|float $calories):void
    {
        $this->calories = $calories;
    }
}