- <?php
-
- namespace Lc\CaracoleBundle\Repository\Reminder;
-
- use Lc\CaracoleBundle\Repository\MerchantStoreTrait;
- use Lc\CaracoleBundle\Repository\SectionStoreTrait;
- use Lc\CaracoleBundle\Repository\StoreTrait;
- use Lc\SovBundle\Repository\Reminder\ReminderStore as SovReminderStore;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
-
- class ReminderStore extends SovReminderStore
- {
- use StoreTrait;
- use SectionStoreTrait;
- use MerchantStoreTrait;
-
- public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
- {
- $this->addFilterByMerchantOptionnal($query);
- $this->addFilterBySectionOptionnal($query);
-
- return parent::filtersDefault($query);
- }
- }
|