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.

TicketMessageRepositoryQuery.php 615B

пре 3 година
пре 3 година
пре 3 година
пре 3 година
пре 3 година
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, 'r', $paginator);
  11. }
  12. public function filterByTicket(TicketInterface $ticket)
  13. {
  14. return $this->andWhereEqual('ticket', $ticket);
  15. }
  16. }