| Conditions | 1 |
| Paths | 1 |
| Total Lines | 13 |
| Lines | 0 |
| Ratio | 0 % |
| Tests | 9 |
| CRAP Score | 1 |
| Changes | 0 | ||
| 1 | <?php |
||
| 16 | 1 | public function apply(Injector $injector) |
|
| 17 | { |
||
| 18 | 1 | $injector->alias( |
|
| 19 | 1 | LoggerInterface::class, |
|
| 20 | Logger::class |
||
| 21 | 1 | ); |
|
| 22 | |||
| 23 | 1 | $injector->share(Logger::class); |
|
| 24 | |||
| 25 | 1 | $injector->define(Logger::class, [ |
|
| 26 | 1 | ':name' => $this->env->getValue('LOGGER_NAME', 'equip') |
|
| 27 | 1 | ]); |
|
| 28 | 1 | } |
|
| 29 | } |
||
| 30 |