UserQuery   A
last analyzed

Complexity

Total Complexity 4

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 1

Importance

Changes 0
Metric Value
wmc 4
c 0
b 0
f 0
lcom 0
cbo 1
dl 0
loc 22
rs 10

4 Methods

Rating   Name   Duplication   Size   Complexity  
A identity() 0 4 1
A byUsername() 0 4 1
A byPasswordResetToken() 0 4 1
A byPasswordResetRequest() 0 4 1
1
<?php
2
3
namespace yiicod\auth\models;
4
5
use yii\db\ActiveQuery;
6
7
class UserQuery extends ActiveQuery implements UserQueryInterface
8
{
9
    public function identity()
10
    {
11
        return $this;
12
    }
13
14
    public function byUsername()
15
    {
16
        return $this;
17
    }
18
19
    public function byPasswordResetToken()
20
    {
21
        return $this;
22
    }
23
24
    public function byPasswordResetRequest()
25
    {
26
        return $this;
27
    }
28
}
29