Completed
Push — master ( 19b92d...15c8d0 )
by vistart
04:37
created

BaseMongoEntityQuery   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 0
Metric Value
wmc 1
lcom 0
cbo 1
dl 0
loc 10
ccs 4
cts 4
cp 1
rs 10
c 0
b 0
f 0

1 Method

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