| Total Complexity | 3 |
| Total Lines | 30 |
| Duplicated Lines | 0 % |
| Coverage | 88.89% |
| Changes | 2 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 11 | class AuthenticationFactory implements PluginFactory |
||
| 12 | { |
||
| 13 | /** @var array<string, Authentication\AuthenticationFactory> */ |
||
| 14 | private array $factories; |
||
| 15 | |||
| 16 | /** |
||
| 17 | * AuthenticationFactory constructor. |
||
| 18 | * |
||
| 19 | * @param array<string, Authentication\AuthenticationFactory> $factories |
||
| 20 | */ |
||
| 21 | 1 | public function __construct(array $factories) |
|
| 24 | 1 | } |
|
| 25 | |||
| 26 | /** |
||
| 27 | * @param array<string, mixed> $config |
||
| 28 | */ |
||
| 29 | public function createPlugin(array $config = []): Plugin |
||
| 43 |