Completed
Push — master ( 68fe25...8e1e8c )
by Woody
11s
created

PhpLoader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 9
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 4 1
1
<?php
2
3
namespace Northwoods\Config\Loader;
4
5
class PhpLoader implements LoaderInterface
6
{
7
    const EXTENSION = 'php';
8
9 19
    public static function load($file)
10
    {
11 19
        return require $file;
12
    }
13
}
14