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.
|
- <?php
-
- namespace domain\Ticket\TicketMessage;
-
- use domain\_\AbstractRepositoryQuery;
-
- class TicketMessageRepositoryQuery extends AbstractRepositoryQuery
- {
- protected TicketMessageDefinition $definition;
-
- public function loadDependencies(): void
- {
- $this->loadDefinition(TicketMessageDefinition::class);
- }
-
- public function filterByTicketId(int $ticketId)
- {
- $this->andWhere(['ticket_message.id_ticket' => $ticketId]);
- return $this;
- }
- }
|