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.

MerchantRepositoryQueryTrait.php 343B

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