| Total Complexity | 2 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 24 | class RemoteClaimRepository extends EntityRepository |
||
| 25 | { |
||
| 26 | /** |
||
| 27 | * @param ClientInterface $client |
||
| 28 | * @return array|RemoteClaimInterface[] |
||
| 29 | */ |
||
| 30 | public function findByClient(ClientInterface $client) |
||
| 31 | { |
||
| 32 | return $this->createQueryBuilder('r') |
||
| 33 | ->where('r.provider = :client') |
||
| 34 | ->setParameter('client', $client) |
||
| 35 | ->getQuery() |
||
| 36 | ->getResult(); |
||
| 37 | } |
||
| 38 | |||
| 39 | public function findByClientAndPerson(ClientInterface $client, PersonInterface $person) |
||
| 54 | } |
||
| 55 | } |
||
| 56 |