<?php

namespace Lc\CaracoleBundle\Repository;

use Lc\CaracoleBundle\Model\Merchant\MerchantInterface;

trait MerchantRepositoryQueryTrait
{
    public function filterByMerchant(MerchantInterface $merchant)
    {
        return $this->andWhereMerchant($this->id, $merchant);
    }
}