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