|
- <?php
-
- namespace Lc\PietroBundle\Repository\IndividualData;
-
- use Knp\Component\Pager\PaginatorInterface;
- use Lc\SovBundle\Repository\AbstractRepositoryQuery;
- use Lc\SovBundle\Repository\RepositoryQueryInterface;
-
- class IndividualDataRepositoryQuery extends AbstractRepositoryQuery implements RepositoryQueryInterface
- {
- public function __construct(IndividualDataRepository $repository, PaginatorInterface $paginator)
- {
- parent::__construct($repository, 'r', $paginator);
- }
-
- public function filterByStatus($status)
- {
- $this->andWhereEqual('status', $status);
- }
- }
|