Total Complexity | 2 |
Total Lines | 13 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 4 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
13 | final class Container extends GacelaContainer implements ContainerInterface |
||
14 | { |
||
15 | 106 | public static function withConfig(Config $config): self |
|
16 | { |
||
17 | 106 | return new self( |
|
18 | 106 | $config->getFactory()->createGacelaFileConfig()->getBindings(), |
|
19 | 106 | $config->getSetupGacela()->getServicesToExtend(), |
|
20 | 106 | ); |
|
21 | } |
||
22 | |||
23 | 5 | public function getLocator(): LocatorInterface |
|
26 | } |
||
27 | } |
||
28 |