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.

24 lines
629B

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