1 | <?php |
||
11 | class ApplicationLoader implements ApplicationLoaderInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var ApplicationRepository |
||
15 | */ |
||
16 | protected $applicationRepository; |
||
17 | |||
18 | /** |
||
19 | * Constructor. |
||
20 | * |
||
21 | * @param ApplicationRepository $applicationRepository |
||
22 | */ |
||
23 | 4 | public function __construct(ApplicationRepository $applicationRepository) |
|
27 | |||
28 | /** |
||
29 | * {@inheritdoc} |
||
30 | */ |
||
31 | public function retrieveByApiKeyAndSecret($apiKey, $secret) |
||
37 | |||
38 | /** |
||
39 | * @param $apiKey |
||
40 | * @param $secret |
||
41 | * |
||
42 | * @return \Doctrine\ORM\QueryBuilder |
||
43 | */ |
||
44 | 2 | public function retrieveByApiKeyAndSecretQueryBuilder($apiKey, $secret) |
|
53 | } |
||
54 |