Total Complexity | 3 |
Total Lines | 31 |
Duplicated Lines | 0 % |
Changes | 0 |
1 | <?php |
||
19 | final class ConfigurationFactory implements ConfigurationFactoryInterface |
||
20 | { |
||
21 | /** |
||
22 | * @var ServiceManager |
||
23 | */ |
||
24 | private ServiceManager $serviceManager; |
||
25 | |||
26 | /** |
||
27 | * @param ServiceManager $serviceManager |
||
28 | */ |
||
29 | public function __construct(ServiceManager $serviceManager) |
||
30 | { |
||
31 | $this->serviceManager = $serviceManager; |
||
32 | } |
||
33 | |||
34 | /** |
||
35 | * @param array $config |
||
36 | * |
||
37 | * @return Configuration |
||
38 | * |
||
39 | * @throws ConfigurationFactoryException |
||
40 | */ |
||
41 | public function create(array $config): Configuration |
||
50 | ); |
||
51 | } |
||
54 |