Completed
Push — param-inject ( 5f90ee...b7e6e7 )
by Akihito
01:14
created

AssistedInjectModule   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 3

Importance

Changes 0
Metric Value
wmc 1
lcom 1
cbo 3
dl 0
loc 11
rs 10
c 0
b 0
f 0

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 8 1
1
<?php
2
3
declare(strict_types=1);
4
5
namespace Ray\Di;
6
7
use Ray\Di\Matcher\AssistedInjectMatcher;
8
9
class AssistedInjectModule extends AbstractModule
10
{
11
    protected function configure(): void
12
    {
13
        $this->bindInterceptor(
14
            $this->matcher->any(),
15
            (new AssistedInjectMatcher()),
16
            [AssistedInjectInterceptor::class]
17
        );
18
    }
19
}
20