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