PlatesConfiguration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 11
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 2

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A apply() 0 6 1
1
<?php
2
3
namespace Equip\Configuration;
4
5
use Auryn\Injector;
6
use League\Plates\Engine;
7
8
class PlatesConfiguration implements ConfigurationInterface
9
{
10
    use EnvTrait;
11
12 1
    public function apply(Injector $injector)
13
    {
14 1
        $injector->define(Engine::class, [
15 1
            ':directory' => $this->env['PLATES_DIRECTORY'],
16 1
        ]);
17 1
    }
18
}
19