Completed
Push — 2.x ( bcb56c...6c548f )
by Akihito
03:06
created

AssistedModule   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 100%

Importance

Changes 2
Bugs 0 Features 1
Metric Value
wmc 1
c 2
b 0
f 1
lcom 1
cbo 2
dl 0
loc 11
ccs 6
cts 6
cp 1
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A configure() 0 8 1
1
<?php
2
/**
3
 * This file is part of the Ray.Di package.
4
 *
5
 * @license http://opensource.org/licenses/MIT MIT
6
 */
7
namespace Ray\Di;
8
9
class AssistedModule extends AbstractModule
10
{
11 36
    protected function configure()
12
    {
13 36
        $this->bindInterceptor(
14 36
            $this->matcher->any(),
15 36
            $this->matcher->annotatedWith('Ray\Di\Di\Assisted'),
16 36
            ['\Ray\Di\AssistedInterceptor']
17
        );
18 36
    }
19
}
20