Completed
Push — master ( 6ff6d1...70482c )
by Alexey
02:17
created

UserQuery   A

Complexity

Total Complexity 4

Size/Duplication

Total Lines 22
Duplicated Lines 0 %

Coupling/Cohesion

Components 0
Dependencies 0

Importance

Changes 0
Metric Value
wmc 4
lcom 0
cbo 0
dl 0
loc 22
c 0
b 0
f 0
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
namespace yiicod\auth\models;
3
4
use yii\db\ActiveQuery;
5
6
class UserQuery extends ActiveQuery implements UserQueryInterface
7
{
8
    public function identity()
9
    {
10
        return $this;
11
    }
12
13
    public function byUsername()
14
    {
15
        return $this;
16
    }
17
18
    public function byPasswordResetToken()
19
    {
20
        return $this;
21
    }
22
23
    public function byPasswordResetRequest()
24
    {
25
        return $this;
26
    }
27
}