ApplicationConfiguration   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 1
dl 0
loc 10
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A apply() 0 7 1
1
<?php
2
3
namespace Equip\Console\Configuration;
4
5
use Auryn\Injector;
6
use Equip\Configuration\ConfigurationInterface;
7
use Symfony\Component\Console\Application;
8
9
class ApplicationConfiguration implements ConfigurationInterface
10
{
11
    public function apply(Injector $injector)
12
    {
13
        $injector->define(Application::class, [
14
            ':name' => 'Equip Console',
15
            ':version' => '0.1',
16
        ]);
17
    }
18
}
19