return PointSaleInterface::class; | return PointSaleInterface::class; | ||||
} | } | ||||
public function findAllPublics() | |||||
{ | |||||
return $this->createQueryBuilder('e') | |||||
->where(':currentMerchant MEMBER OF e.merchants') | |||||
->andWhere('e.isPublic = 1') | |||||
->setParameter('currentMerchant', $this->globalParam->getCurrentMerchant()) | |||||
->getQuery() | |||||
->getResult() ; | |||||
} | |||||
} | } |