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