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