您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

21 行
599B

  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. }