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.

UserStore.php 510B

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