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.

21 lines
582B

  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\User;
  3. use Lc\CaracoleBundle\Repository\MerchantStoreTrait;
  4. use Lc\CaracoleBundle\Repository\StoreTrait;
  5. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  6. use Lc\SovBundle\Repository\User\GroupUserStore as SovGroupUserStore;
  7. class GroupUserStore extends SovGroupUserStore
  8. {
  9. use StoreTrait;
  10. use MerchantStoreTrait;
  11. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  12. {
  13. $this->addFilterByMerchantOptionnal($query);
  14. return parent::filtersDefault($query);
  15. }
  16. }