| Conditions | 2 |
| Paths | 2 |
| Total Lines | 8 |
| Code Lines | 2 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 26 | public function createInjection( |
||
| 27 | \ReflectionClass $class, |
||
| 28 | \ReflectionParameter|null|string $context = null, |
||
| 29 | ): LoggerInterface { |
||
| 30 | $channel = \is_object($context) ? $this->extractChannelAttribute($context) : null; |
||
| 31 | |||
| 32 | // always return default logger as injection |
||
| 33 | return $this->factory->getLogger($channel); |
||
|
|
|||
| 34 | } |
||
| 47 |