Conditions | 1 |
Paths | 1 |
Total Lines | 10 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
44 | public function retrieveByApiKeyAndSecretQueryBuilder($apiKey, $secret) |
||
45 | { |
||
46 | return $this->applicationRepository |
||
47 | ->createQueryBuilder('a') |
||
48 | ->where('a.secret = :secret') |
||
49 | ->setParameter('secret', $secret) |
||
50 | ->andWhere('a.apiKey = :api_key') |
||
51 | ->setParameter('api_key', $apiKey) |
||
52 | ; |
||
53 | } |
||
54 | } |
||
55 |