|
12345678910111213141516171819202122232425262728 |
- <?php
-
- namespace domain\Ticket\TicketMessage;
-
- use domain\_\AbstractRepository;
-
- class TicketMessageRepository extends AbstractRepository
- {
- protected TicketMessageRepositoryQuery $query;
-
- public function loadDependencies(): void
- {
- $this->loadQuery(TicketMessageRepositoryQuery::class);
- }
-
- /**
- * Retourne les options de base nécessaires à la fonction de recherche.
- */
- public function getDefaultOptionsSearch(): array
- {
- return [
- self::WITH => ['user', 'producer', 'ticketMessages'],
- self::JOIN_WITH => [],
- self::ORDER_BY => '',
- self::ATTRIBUTE_ID_PRODUCER => ''
- ];
- }
- }
|