25 line
718B

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