| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 23 | public function findOneByEmail(string $email): ?UserInterface |
||
| 24 | { |
||
| 25 | return $this->createQueryBuilder('o') |
||
| 26 | ->innerJoin('o.customer', 'customer') |
||
| 27 | ->andWhere('customer.emailCanonical = :email') |
||
| 28 | ->setParameter('email', $email) |
||
| 29 | ->getQuery() |
||
| 30 | ->getOneOrNullResult() |
||
| 31 | ; |
||
| 32 | } |
||
| 33 | } |
||
| 34 |