<?php
|
namespace JVBase\inc\managers\SEO\render\Traits\_Properties;
|
|
if (!defined('ABSPATH')) {
|
exit;
|
}
|
trait upvoteCountTrait {
|
/**
|
* @var int The number of upvotes this question, answer or comment has received from the community.
|
*/
|
protected int $upvoteCount;
|
|
public function getUpvoteCount():?int
|
{
|
return $this->upvoteCount??null;
|
}
|
public function setUpvoteCount(int $upvoteCount):void
|
{
|
$this->upvoteCount = $upvoteCount;
|
}
|
}
|