You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
372B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository;
  3. use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;
  4. use Lc\CaracoleBundle\Model\Section\SectionInterface;
  5. trait MerchantRepositoryQueryTrait
  6. {
  7. public function filterByMerchant(MerchantInterface $merchant)
  8. {
  9. return $this->andWhere('.merchant = :merchant')->setParameter(':merchant', $merchant);
  10. }
  11. }