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 523B

3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\CaracoleBundle\Repository\Ticket;
  3. use Lc\CaracoleBundle\Repository\SectionStoreTrait;
  4. use Lc\SovBundle\Model\User\UserInterface;
  5. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  6. use Lc\SovBundle\Repository\Ticket\TicketStore as SovTicketStore;
  7. class TicketStore extends SovTicketStore
  8. {
  9. use SectionStoreTrait;
  10. public function filtersDefault(RepositoryQueryInterface $query): RepositoryQueryInterface
  11. {
  12. $query->filterBySection($this->section);
  13. return $query;
  14. }
  15. }