| Conditions | 1 |
| Paths | 1 |
| Total Lines | 9 |
| Code Lines | 4 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 32 | public function registerBindings(IContainer $container) |
||
| 33 | { |
||
| 34 | /** @var ITranslator $translator */ |
||
| 35 | $translator = $container->resolve(ITranslator::class); |
||
| 36 | $environment = Environment::getVar(Env::ENV_NAME); |
||
| 37 | |||
| 38 | $environmentWarning = new EnvironmentWarning($translator, $environment); |
||
|
|
|||
| 39 | |||
| 40 | $container->bindInstance(EnvironmentWarning::class, $environmentWarning); |
||
| 41 | } |
||
| 43 |