| Conditions | 1 |
| Paths | 1 |
| Total Lines | 12 |
| Code Lines | 6 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 27 | public function registerConfigFacade(Container $container): ConfigServiceProvider |
||
| 28 | { |
||
| 29 | $container->offsetSet(ConfigConstants::FACADE, static function (Container $container) { |
||
| 30 | $appDir = $container->offsetGet('app_dir'); |
||
| 31 | $environment = $container->offsetGet('environment'); |
||
| 32 | |||
| 33 | return new ConfigFacade( |
||
| 34 | new ConfigFactory($appDir, $environment) |
||
| 35 | ); |
||
| 36 | }); |
||
| 37 | |||
| 38 | return $this; |
||
| 39 | } |
||
| 41 |