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

        $query = $this->threadManager
            ->getParticipantSentThreadsQueryBuilder($participant)
            ->getQuery();

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

        $query = $this->threadManager
            ->getParticipantSentThreadsQueryBuilder($participant)
            ->getQuery();

        return $this->createPaginator($query, $page, $limit);
    }
获取已发送消息

@param int $page
@param null $limit
@return Pagerfanta