| Conditions | 1 |
| Paths | 1 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 31 | public function findOneByTokenValue(string $tokenValue): ?InvoiceInterface |
||
| 32 | { |
||
| 33 | return $this->createQueryBuilder('o') |
||
| 34 | ->innerJoin('o.order', 'invoiceOrder') |
||
| 35 | ->where('invoiceOrder.tokenValue = :tokenValue') |
||
| 36 | ->setParameter('tokenValue', $tokenValue) |
||
| 37 | ->getQuery() |
||
| 38 | ->getOneOrNullResult() |
||
| 39 | ; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |