| Conditions | 1 |
| Paths | 1 |
| Total Lines | 11 |
| Code Lines | 5 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 20 | #[Override] |
||
| 21 | protected function configure(): void |
||
| 22 | { |
||
| 23 | $this->bind(SemanticLoggerInterface::class)->to(SemanticLogger::class)->in(Scope::SINGLETON); |
||
| 24 | $this->bind(ContextFactoryInterface::class)->to(ContextFactory::class)->in(Scope::SINGLETON); |
||
| 25 | |||
| 26 | // Bind the original invoker with annotation so our adapter can inject it |
||
| 27 | $this->bind(InvokerInterface::class)->annotatedWith('original')->to(Invoker::class); |
||
| 28 | |||
| 29 | // Override the default invoker with our semantic logging adapter |
||
| 30 | $this->bind(InvokerInterface::class)->to(SemanticInvoker::class); |
||
| 31 | } |
||
| 33 |