src/PHPDish/Bundle/ChatBundle/Message/Provider.php
public function getInboxThreadsPager($page, $limit = null)
    {
        $participant = $this->getAuthenticatedParticipant();

        $query = $this->threadManager
            ->getParticipantInboxThreadsQueryBuilder($participant)
            ->getQuery();
        return $this->createPaginator($query, $page, $limit);
    }
public function getInboxThreadsPager($page, $limit = null)
    {
        $participant = $this->getAuthenticatedParticipant();

        $query = $this->threadManager
            ->getParticipantInboxThreadsQueryBuilder($participant)
            ->getQuery();
        return $this->createPaginator($query, $page, $limit);
    }
获取已读消息
@param int $page
@param null $limit
@return Pagerfanta