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.

IndividualDataRepositoryQuery.php 599B

преди 3 години
1234567891011121314151617181920
  1. <?php
  2. namespace Lc\PietroBundle\Repository\IndividualData;
  3. use Knp\Component\Pager\PaginatorInterface;
  4. use Lc\SovBundle\Repository\AbstractRepositoryQuery;
  5. use Lc\SovBundle\Repository\RepositoryQueryInterface;
  6. class IndividualDataRepositoryQuery extends AbstractRepositoryQuery implements RepositoryQueryInterface
  7. {
  8. public function __construct(IndividualDataRepository $repository, PaginatorInterface $paginator)
  9. {
  10. parent::__construct($repository, 'r', $paginator);
  11. }
  12. public function filterByStatus($status)
  13. {
  14. $this->andWhereEqual('status', $status);
  15. }
  16. }