Jake Vanderwerf
2026-04-15 c4aa5cdb5e90ad4b420e22772797d16980232a2b
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<?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;
    }
}