Example #1
0
 /**
  * {@inheritDoc}
  */
 public function getVotes()
 {
     if (!isset($this->votes)) {
         $this->votes = $this->voteMapper->findVotesOnPage($this->getId());
     }
     return $this->votes;
 }
Example #2
0
 /**
  * {@inheritDoc}
  */
 public function getAggregatedVotesOnUser($userId, $siteId, $aggregates, $order = null, $paginated = false)
 {
     return $this->mapper->getAggregatedVotesOnUser($userId, $siteId, $aggregates, $order, $paginated);
 }