PayloadConfiguration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 13
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

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
use Equip\Adr\PayloadInterface;
7
use Equip\Payload;
8
9
class PayloadConfiguration implements ConfigurationInterface
10
{
11
    /**
12
     * @inheritDoc
13
     */
14 1
    public function apply(Injector $injector)
15
    {
16 1
        $injector->alias(
17 1
            PayloadInterface::class,
18
            Payload::class
19 1
        );
20 1
    }
21
}
22
23