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