Conditions | 1 |
Paths | 1 |
Total Lines | 12 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
32 | public function createQuery(QueryFactoryInterface $queryFactory) |
||
33 | { |
||
34 | return $queryFactory->createQueryBuilder() |
||
35 | ->select('pr') |
||
36 | ->from(PasswordRequestInterface::class, 'pr') |
||
37 | ->where('pr.user = :uid') |
||
38 | ->andWhere('pr.id = :rid') |
||
39 | ->andWhere('pr.status = :status') |
||
40 | ->setParameter('uid', $this->userId) |
||
41 | ->setParameter('rid', $this->passwordRequestId) |
||
42 | ->setParameter('status', PasswordRequestInterface::STATUS_CREATED); |
||
43 | } |
||
44 | } |
||
45 |