frontend\models\LoginForm::getUser PHP 메소드

getUser() 공개 메소드

Finds user by [[mobile]]
public getUser ( ) : User | null
리턴 common\models\User | null
    public function getUser()
    {
        if ($this->_user === null) {
            $this->_user = User::findByMobile($this->mobile);
        }
        return $this->_user;
    }