FakeUser::findIdentity()   A
last analyzed

Complexity

Conditions 1
Paths 1

Size

Total Lines 1
Code Lines 0

Duplication

Lines 0
Ratio 0 %

Importance

Changes 0
Metric Value
dl 0
loc 1
c 0
b 0
f 0
rs 10
cc 1
eloc 0
nc 1
nop 1
1
<?php
2
namespace common\tests\unit;
3
4
use yii;
5
use yii\web\IdentityInterface;
6
use yii\base\Model;
7
8
/**
9
 * FakeUser model
10
 */
11
class FakeUser extends Model implements IdentityInterface
12
{
13
  public $timezone;
14
15
  static public function findIdentity($id) {}
16
  static public function findIdentityByAccessToken($token, $type = null) {}
17
  public function getId() {}
18
  public function getAuthKey() {}
19
  public function validateAuthKey($authKey) {}
20
}
21
22