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.

TicketStore.php 682B

3 년 전
3 년 전
3 년 전
3 년 전
3 년 전
123456789101112131415161718192021222324
  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. $this->addFilterByMerchantOptionnal($query);
  17. return $query;
  18. }
  19. }