Total Complexity | 4 |
Total Lines | 23 |
Duplicated Lines | 0 % |
Coverage | 85.71% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | class LoggerFactory implements PluginFactory |
||
14 | { |
||
15 | private ContainerInterface $container; |
||
16 | |||
17 | public function __construct(ContainerInterface $container) |
||
18 | 3 | { |
|
19 | $this->container = $container; |
||
20 | 3 | } |
|
21 | 3 | ||
22 | /** |
||
23 | * @param array<string, mixed> $config |
||
24 | */ |
||
25 | public function createPlugin(array $config = []): Plugin |
||
36 | 3 | ); |
|
37 | 3 | } |
|
39 |