for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace luya\web\jsonld;
/**
* JsonLd AggregateRating.
*
* @see http://schema.org/AggregateRating
* @author Basil Suter <[email protected]>
* @since 1.0.3
*/
class AggregateRating extends Rating
{
* @inheritdoc
public function typeDefintion()
return 'AggregateRating';
}
private $_itemReviewed;
* Set item reviewed
* @param ThingInterface $thing
* @return static
public function setItemReviewed(ThingInterface $thing)
$this->_itemReviewed = $thing;
return $this;
* Getter item reviewed
* @return ThingInterface
public function getItemReviewed()
$this->_itemReviewed;
private $_ratingCount;
* Set rating count
* @param integer $ratingCount
public function setRatingCount($ratingCount)
$this->_ratingCount = (int) $ratingCount;
* Get Rating count
* @return integer
public function getRatingCount()
return $this->_ratingCount;
private $_reviewCount;
* Set Review Count
* @param integer $reviewCount
public function setReviewCount($reviewCount)
$this->_reviewCount = (int) $reviewCount;
* Get Review count
public function getReviewCount()
return $this->_reviewCount;