This class was generated by the Doctrine ORM. Add your own custom repository methods below.
Inheritance: extends Doctrine\ORM\EntityRepository, implements Symfony\Component\Security\Core\User\UserProviderInterface
Example #1
0
 /**
  * 会員検索用のクエリビルダを返す.
  *
  * @param Request $request
  * @return \Doctrine\ORM\QueryBuilder
  */
 public function getCustomerQueryBuilder(Request $request)
 {
     $session = $request->getSession();
     if ($session->has('eccube.admin.customer.search')) {
         $searchData = $session->get('eccube.admin.customer.search');
     } else {
         $searchData = array();
     }
     // 会員データのクエリビルダを構築.
     $qb = $this->customerRepository->getQueryBuilderBySearchData($searchData);
     return $qb;
 }