| Conditions | 1 |
| Paths | 1 |
| Total Lines | 16 |
| Code Lines | 12 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 39 | public function findByClientAndPerson(ClientInterface $client, PersonInterface $person) |
||
| 40 | { |
||
| 41 | return $this->createQueryBuilder('r') |
||
| 42 | ->select('r') |
||
| 43 | ->innerJoin( |
||
| 44 | 'LoginCidadaoRemoteClaimsBundle:RemoteClaimAuthorization', |
||
| 45 | 'a', 'WITH', 'a.client = :client AND a.person = :person' |
||
| 46 | ) |
||
| 47 | ->where('a.claimName = r.name') |
||
| 48 | ->setParameters([ |
||
| 49 | 'client' => $client, |
||
| 50 | 'person' => $person, |
||
| 51 | ]) |
||
| 52 | ->getQuery() |
||
| 53 | ->getResult(); |
||
| 54 | } |
||
| 55 | } |
||
| 56 |