Total Complexity | 3 |
Total Lines | 24 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
15 | class UserRepository extends EntityRepository implements UserRepositoryInterface |
||
16 | { |
||
17 | /** |
||
18 | * {@inheritdoc} |
||
19 | */ |
||
20 | public function findUserByActivationToken($activationToken) |
||
21 | { |
||
22 | return $this->findOneBy(['activationToken.token' => $activationToken]); |
||
23 | } |
||
24 | |||
25 | /** |
||
26 | * {@inheritdoc} |
||
27 | */ |
||
28 | public function findUserByPasswordResetToken($confirmationToken) |
||
29 | { |
||
30 | return $this->findOneBy(['passwordResetToken.token' => $confirmationToken]); |
||
31 | } |
||
32 | |||
33 | /** |
||
34 | * {@inheritdoc} |
||
35 | */ |
||
36 | public function findUserByEmail($email) |
||
39 | } |
||
40 | } |
||
41 |