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.

RepositoryMerchantTrait.php 338B

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