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