Conditions | 2 |
Paths | 2 |
Total Lines | 11 |
Code Lines | 8 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
14 | protected function configure(): void |
||
15 | { |
||
16 | $this->bindInterceptor( |
||
17 | $this->matcher->any(), |
||
18 | $this->matcher->annotatedWith(Assisted::class), |
||
19 | [AssistedInterceptor::class] |
||
20 | ); |
||
21 | $this->bind(MethodInvocation::class)->toProvider(MethodInvocationProvider::class)->in(Scope::SINGLETON); |
||
22 | $this->bind(MethodInvocationProvider::class)->in(Scope::SINGLETON); |
||
23 | if (PHP_VERSION_ID >= 80000) { |
||
24 | $this->install(new AssistedInjectModule()); |
||
25 | } |
||
28 |