ValidatorContainer   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 load() 0 10 1
1
<?php
2
3
namespace Sensorario\Resources\Validators;
4
5
use Sensorario\Container\ArgumentBuilder;
6
7
class ValidatorContainer
8
{
9 42
    public static function load() : \Sensorario\Container\Container
10
    {
11 42
        $container = new \Sensorario\Container\Container();
12
13 42
        $services = require __DIR__ . '/../../../../config/services.php';
14
15 42
        $container->loadServices($services);
16
17 42
        return $container;
18
    }
19
}
20