Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

TicketMessageRepositoryQuery.php 627B

il y a 3 ans
il y a 3 ans
il y a 3 ans
il y a 3 ans
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\SovBundle\Repository\Ticket;
  3. use Knp\Component\Pager\PaginatorInterface;
  4. use Lc\SovBundle\Model\Ticket\TicketInterface;
  5. use Lc\SovBundle\Repository\AbstractRepositoryQuery;
  6. class TicketMessageRepositoryQuery extends AbstractRepositoryQuery implements TicketMessageRepositoryQueryInterface
  7. {
  8. public function __construct(TicketMessageRepository $repository, PaginatorInterface $paginator)
  9. {
  10. parent::__construct($repository, 'ticketMessage', $paginator);
  11. }
  12. public function filterByTicket(TicketInterface $ticket)
  13. {
  14. return $this->andWhereEqual('ticket', $ticket);
  15. }
  16. }