1 | <?php |
||
28 | class RaListingService extends AbstractSearchService |
||
29 | { |
||
30 | /** |
||
31 | * @var RaListingRepository |
||
32 | */ |
||
33 | private $raListingRepository; |
||
34 | |||
35 | public function __construct(RaListingRepository $raListingRepository) |
||
39 | |||
40 | /** |
||
41 | * @param IdentityId $identityId |
||
42 | * @param Institution $raInstitution |
||
43 | * @return null|\Surfnet\StepupMiddleware\ApiBundle\Identity\Entity\RaListing |
||
|
|||
44 | */ |
||
45 | public function findByIdentityIdAndRaInstitution(IdentityId $identityId, Institution $raInstitution) |
||
49 | |||
50 | /** |
||
51 | * @param RaListingQuery $query |
||
52 | * @return \Pagerfanta\Pagerfanta |
||
53 | */ |
||
54 | public function search(RaListingQuery $query) |
||
62 | |||
63 | /** |
||
64 | * @param Institution $institution |
||
65 | * @return RegistrationAuthorityCredentials[] |
||
66 | */ |
||
67 | public function listRegistrationAuthoritiesFor(Institution $institution) |
||
77 | } |
||
78 |
This check compares the return type specified in the
@return
annotation of a function or method doc comment with the types returned by the function and raises an issue if they mismatch.