Jake Vanderwerf
5 days ago 0afb2c0046b55c123eafb4ab9ee77efa68d12463
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<?php
namespace JVBase\managers\SEO\render\Traits\_Properties;
 
use JVBase\managers\SEO\render\Thing\Intangible\Rating\Rating;
 
if (!defined('ABSPATH')) {
    exit;
}
trait reviewRatingTrait {
    /**
     * @var Rating The rating given in this review. Note that reviews can themselves be rated. The reviewRating applies to rating given by the review. The aggregateRating property applies to the review itself, as a creative work.
     */
    protected Rating $reviewRating;
 
    public function getReviewRating():?Rating
    {
        return $this->reviewRating??null;
    }
    public function setReviewRating(Rating $reviewRating):void
    {
        $this->reviewRating = $reviewRating;
    }
}