TrashQuery   A
last analyzed

Complexity

Total Complexity 1

Size/Duplication

Total Lines 7
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 2

Importance

Changes 1
Bugs 0 Features 0
Metric Value
wmc 1
c 1
b 0
f 0
lcom 0
cbo 2
dl 0
loc 7
rs 10

1 Method

Rating   Name   Duplication   Size   Complexity  
A behaviors() 0 5 1
1
<?php
2
/**
3
 * Created by PhpStorm.
4
 * User: vadim
5
 * Date: 02.05.15
6
 * Time: 2:40
7
 */
8
9
namespace sibds\behaviors;
10
11
12
use yii\db\ActiveQuery;
13
14
class TrashQuery extends ActiveQuery {
15
    public function behaviors(){
16
        return [
17
            TrashQueryBehavior::className(),
18
        ];
19
    }
20
}