Completed
Push — param-inject ( 83c5f6 )
by Akihito
01:11
created

ParamInjectModule::configure()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 8

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 8
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\Di;
6
7
use Ray\Di\Matcher\ParamInjectMatcher;
8
9
class ParamInjectModule extends AbstractModule
10
{
11
    protected function configure(): void
12
    {
13
        $this->bindInterceptor(
14
            $this->matcher->any(),
15
            (new ParamInjectMatcher()),
16
            [ParamInjectInterceptor::class]
17
        );
18
    }
19
}
20