| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 8 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 45 | public function retrieveOnApplicationByUsernameQueryBuilder(ApplicationInterface $application, $username) |
||
| 46 | { |
||
| 47 | return $this->accountRepository |
||
| 48 | ->createQueryBuilder('ac') |
||
| 49 | ->innerJoin('ac.applications', 'app') |
||
| 50 | ->where('ac.username = :username') |
||
| 51 | ->setParameter('username', $username) |
||
| 52 | ->andWhere('app.id = :application') |
||
| 53 | ->setParameter('application', $application->getId()) |
||
| 54 | ; |
||
| 55 | } |
||
| 56 | } |
||
| 57 |