1 | <?php |
||
25 | class RaCandidateService extends AbstractSearchService |
||
26 | { |
||
27 | /** |
||
28 | * @var RaCandidateRepository |
||
29 | */ |
||
30 | private $raCandidateRepository; |
||
31 | |||
32 | /** |
||
33 | * @param RaCandidateRepository $raCandidateRepository |
||
34 | */ |
||
35 | public function __construct(RaCandidateRepository $raCandidateRepository) |
||
39 | |||
40 | /** |
||
41 | * @param RaCandidateQuery $query |
||
42 | * @return \Pagerfanta\Pagerfanta |
||
43 | */ |
||
44 | public function search(RaCandidateQuery $query) |
||
52 | |||
53 | /** |
||
54 | * @param string $identityId |
||
55 | * @param Institution $institution |
||
56 | * @return null|\Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\RaCandidate |
||
57 | * @throws \Doctrine\ORM\NonUniqueResultException |
||
58 | */ |
||
59 | public function findByIdentityIdAndRaInstitution($identityId, Institution $institution) |
||
65 | } |
||
66 |