public function findForBuyer(Profile $buyer)
    {
        $qb = $this->getEntityManager()->createQueryBuilder();

        $qb->from('HarvestCloudCoreBundle:Order', 'o')
            ->select('o')
            ->where('o.buyer = :buyer')
            ->andWhere('o.status_code != :cart')
            ->orderBy('o.id', 'DESC')
            ->setParameter('buyer', $buyer)
            ->setParameter('cart', Order::STATUS_CART)
        ;

        $q = $qb->getQuery();

        return $q->execute();
    }