1 | <?php |
||
7 | class MxRating |
||
8 | { |
||
9 | /** @var int */ |
||
10 | protected $voteCount; |
||
11 | |||
12 | /** @var int */ |
||
13 | protected $voteAverage; |
||
14 | |||
15 | /** @var int */ |
||
16 | protected $modeVoteCount; |
||
17 | |||
18 | /** @var int */ |
||
19 | protected $modeVoteAverage; |
||
20 | |||
21 | /** @var mxVote[] */ |
||
22 | protected $votes = array(); |
||
23 | |||
24 | public function append($object) |
||
43 | |||
44 | /** |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getVotes() |
||
51 | |||
52 | /** |
||
53 | * @param MxVote[] $votes |
||
54 | * @return $this |
||
55 | */ |
||
56 | public function setVotes($votes) |
||
62 | |||
63 | /** |
||
64 | * @return int |
||
65 | */ |
||
66 | public function getModeVoteAverage() |
||
70 | |||
71 | /** |
||
72 | * @param int $modeVoteAverage |
||
73 | * @return $this |
||
74 | */ |
||
75 | public function setModeVoteAverage($modeVoteAverage) |
||
81 | |||
82 | /** |
||
83 | * @return int |
||
84 | */ |
||
85 | public function getModeVoteCount() |
||
89 | |||
90 | /** |
||
91 | * @param int $modeVoteCount |
||
92 | * @return $this |
||
93 | */ |
||
94 | public function setModeVoteCount($modeVoteCount) |
||
100 | |||
101 | /** |
||
102 | * @return int |
||
103 | */ |
||
104 | public function getVoteAverage() |
||
108 | |||
109 | /** |
||
110 | * @param int $voteAverage |
||
111 | * @return $this |
||
112 | */ |
||
113 | public function setVoteAverage($voteAverage) |
||
119 | |||
120 | /** |
||
121 | * @return int |
||
122 | */ |
||
123 | public function getVoteCount() |
||
127 | |||
128 | /** |
||
129 | * @param int $voteCount |
||
130 | * @return $this |
||
131 | */ |
||
132 | public function setVoteCount($voteCount) |
||
138 | } |
||
139 |