public function getPackagesAction()
    {
        $qb = $this->getQueryBuilder();
        $qb->select(PackageController::SELECT_STATEMENT);
        $qb->from('CampaignChain\CoreBundle\Entity\Bundle', 'b');
        $qb->orderBy('b.name');
        $query = $qb->getQuery();

        return $this->response(
            $query->getResult(\Doctrine\ORM\Query::HYDRATE_ARRAY)
        );
    }