for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace common\tests\unit;
use yii;
use yii\web\IdentityInterface;
use yii\base\Model;
/**
* FakeUser model
*/
class FakeUser extends Model implements IdentityInterface
{
public $timezone;
static public function findIdentity($id) {}
static public function findIdentityByAccessToken($token, $type = null) {}
public function getId() {}
public function getAuthKey() {}
public function validateAuthKey($authKey) {}
}