Completed
Pull Request — master (#1)
by Woody
27:07 queued 01:07
created

PayloadConfiguration   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A apply() 0 7 1
1
<?php
2
3
namespace Equip\Configuration;
4
5
use Auryn\Injector;
6
7
class PayloadConfiguration implements ConfigurationInterface
8
{
9
    /**
10
     * @inheritDoc
11
     */
12 1
    public function apply(Injector $injector)
13
    {
14 1
        $injector->alias(
15 1
            'Equip\Adr\PayloadInterface',
16 1
            'Equip\Payload'
17
        );
18 1
    }
19
}
20
21