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.

20 lines
516B

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