src/PHPDish/Bundle/UserBundle/Service/PointManager.php
public function findPointHistories(UserInterface $user, $page, $limit = null)
    {
        $query = $this->getPointHistoryRepository()->createQueryBuilder('p')
            ->where('p.user = :user')->setParameter('user', $user)
            ->getQuery();

        return $this->createPaginator($query, $page, $limit);
    }
public function findPointHistories(UserInterface $user, $page, $limit = null)
    {
        $query = $this->getPointHistoryRepository()->createQueryBuilder('p')
            ->where('p.user = :user')->setParameter('user', $user)
            ->getQuery();

        return $this->createPaginator($query, $page, $limit);
    }
{@inheritdoc}