Completed
Push — master ( 7fc3f3...dbb6f1 )
by vistart
05:17
created

BaseRedisEntityQuery   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 10
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Test Coverage

Coverage 100%

Importance

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

1 Method

Rating   Name   Duplication   Size   Complexity  
A init() 0 5 1
1
<?php
2
3
/**
4
 *  _   __ __ _____ _____ ___  ____  _____
5
 * | | / // // ___//_  _//   ||  __||_   _|
6
 * | |/ // /(__  )  / / / /| || |     | |
7
 * |___//_//____/  /_/ /_/ |_||_|     |_|
8
 * @link http://vistart.name/
9
 * @copyright Copyright (c) 2016 vistart
10
 * @license http://vistart.name/license/
11
 */
12
13
namespace vistart\Models\queries;
14
15
use vistart\Models\traits\EntityQueryTrait;
16
17
/**
18
 * Description of BaseRedisEntityQuery
19
 *
20
 * @version 2.0
21
 * @author vistart <[email protected]>
22
 */
23
class BaseRedisEntityQuery extends \yii\redis\ActiveQuery
24
{
25
    use EntityQueryTrait;
26
27 1
    public function init()
28
    {
29 1
        $this->buildNoInitModel();
30 1
        parent::init();
31 1
    }
32
}
33