Completed
Push — master ( 452f3b...8b11af )
by Changwan
04:35
created

JsonLoader   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 1
Dependencies 1

Test Coverage

Coverage 0%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A load() 0 4 1
1
<?php
2
namespace Wandu\Config\Loader;
3
4
class JsonLoader extends LoaderAbstract
5
{
6
    /**
7
     * {@inheritdoc}
8
     */
9
    public function load()
10
    {
11
        return json_decode(file_get_contents($this->fileName), true);
12
    }
13
}
14