| Total Complexity | 4 |
| Total Lines | 47 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 14 | class MethodRegistry |
||
| 15 | { |
||
| 16 | use Configurable; |
||
| 17 | use Injectable; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * List of configured MFA methods. These should be class names that implement MethodInterface |
||
| 21 | * |
||
| 22 | * @config |
||
| 23 | * @var array |
||
| 24 | */ |
||
| 25 | private static $methods; |
||
|
|
|||
| 26 | |||
| 27 | /** |
||
| 28 | * Get implementations of all configured methods |
||
| 29 | * |
||
| 30 | * @return MethodInterface[] |
||
| 31 | */ |
||
| 32 | public function getAllMethods() |
||
| 63 |