1 | <?php |
||
30 | final class AllowedSecondFactor |
||
31 | { |
||
32 | /** |
||
33 | * @ORM\Id |
||
34 | * @ORM\Column(type="stepup_configuration_institution") |
||
35 | * |
||
36 | * @var Institution |
||
37 | */ |
||
38 | public $institution; |
||
39 | |||
40 | /** |
||
41 | * @ORM\Column(type="stepup_second_factor_type") |
||
42 | * |
||
43 | * @var SecondFactorType |
||
44 | */ |
||
45 | public $secondFactorType; |
||
46 | |||
47 | private function __construct() |
||
50 | |||
51 | /** |
||
52 | * @param Institution $institution |
||
53 | * @param SecondFactorType $secondFactorType |
||
54 | * @return AllowedSecondFactor |
||
55 | */ |
||
56 | public static function createFrom(Institution $institution, SecondFactorType $secondFactorType) |
||
64 | } |
||
65 |