Passed
Push — master ( b11de1...a4dac5 )
by eXeCUT
09:39
created

Source::getFiles()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 2
Code Lines 1

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 2
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 1
dl 0
loc 2
ccs 2
cts 2
cp 1
rs 10
c 0
b 0
f 0
cc 1
nc 1
nop 0
crap 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: execut
5
 * Date: 9/27/16
6
 * Time: 2:06 PM
7
 */
8
9
namespace execut\import\components;
10
11
12
use execut\import\components\source\Adapter;
13
use yii\base\Component;
14
15
class Source extends Component
16
{
17
    /**
18
     * @var Adapter
19
     */
20
    public $adapter = null;
21 1
    public function getFiles() {
22 1
        return $this->adapter->getFiles();
23
    }
24
}