ReactionTotal
Reaction total is an aggregated sum of all counters.
Get reactions total count
$totalWeight = $reactionTotal->getCount();
Get reactions total weight
$totalWeight = $reactionTotal->getWeight();
If
Like
hasmass=1
andDislike
hasmass=-1
then 3 likes and 5 dislikes will produce-2
total weight.
Minimum
weight
value is-99999999999.99
.
Maximumweight
value is99999999999.99
.
Updated about 5 years ago