Completed
Push — master ( 85994b...9d10cb )
by Dmitry
02:11
created

Query::getFields()   A

Complexity

Conditions 1
Paths 1

Size

Total Lines 4
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 0
CRAP Score 2

Importance

Changes 0
Metric Value
c 0
b 0
f 0
dl 0
loc 4
ccs 0
cts 3
cp 0
rs 10
cc 1
eloc 2
nc 1
nop 0
crap 2
1
<?php
2
3
namespace hiapi\query;
4
5
class Query extends \yii\db\Query
6
{
7
    /**
8
     * @var FieldFactoryInterface
9
     */
10
    protected $fieldFactory;
11
12
    public function __construct(FieldFactoryInterface $filterFactory, array $config = [])
13
    {
14
        parent::__construct($config);
15
16
        $this->fieldFactory = $filterFactory;
17
    }
18
19
    /**
20
     * @return Field[]
21
     */
22
    public function getFields()
23
    {
24
        return [];
25
    }
26
}
27