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.

TicketMessageRepository.php 682B

12345678910111213141516171819202122232425262728
  1. <?php
  2. namespace domain\Ticket\TicketMessage;
  3. use domain\_\AbstractRepository;
  4. class TicketMessageRepository extends AbstractRepository
  5. {
  6. protected TicketMessageRepositoryQuery $query;
  7. public function loadDependencies(): void
  8. {
  9. $this->loadQuery(TicketMessageRepositoryQuery::class);
  10. }
  11. /**
  12. * Retourne les options de base nécessaires à la fonction de recherche.
  13. */
  14. public function getDefaultOptionsSearch(): array
  15. {
  16. return [
  17. self::WITH => ['user', 'producer', 'ticketMessages'],
  18. self::JOIN_WITH => [],
  19. self::ORDER_BY => '',
  20. self::ATTRIBUTE_ID_PRODUCER => ''
  21. ];
  22. }
  23. }