yiicod/yii2-auth

View on GitHub
models/UserQuery.php

Summary

Maintainability
A
0 mins
Test Coverage
<?php

namespace yiicod\auth\models;

use yii\db\ActiveQuery;

class UserQuery extends ActiveQuery implements UserQueryInterface
{
    public function identity()
    {
        return $this;
    }

    public function byUsername()
    {
        return $this;
    }

    public function byPasswordResetToken()
    {
        return $this;
    }

    public function byPasswordResetRequest()
    {
        return $this;
    }
}