1 | <?php |
||
27 | class AllowedSecondFactorListService |
||
28 | { |
||
29 | /** |
||
30 | * @var AllowedSecondFactorRepository |
||
31 | */ |
||
32 | private $allowedSecondFactorRepository; |
||
33 | |||
34 | /** |
||
35 | * @var ConfiguredInstitutionRepository |
||
36 | */ |
||
37 | private $configuredInstitutionRepository; |
||
38 | |||
39 | public function __construct( |
||
40 | AllowedSecondFactorRepository $allowedSecondFactoryRepository, |
||
41 | ConfiguredInstitutionRepository $configuredInstitutionRepository |
||
|
|||
42 | ) { |
||
43 | $this->allowedSecondFactorRepository = $allowedSecondFactoryRepository; |
||
44 | $this->configuredInstitutionRepository = $configuredInstitutionRepository; |
||
45 | } |
||
46 | |||
47 | public function getAllowedSecondFactorListFor(Institution $institution) |
||
55 | |||
56 | /** |
||
57 | * @return AllowedSecondFactorMap |
||
58 | */ |
||
59 | public function getAllowedSecondFactorMap() |
||
63 | } |
||
64 |
Very long variable names usually make code harder to read. It is therefore recommended not to make variable names too verbose.