예제 #1
0
파일: LoginForm.php 프로젝트: samlx/Bulk
 /**
  * Finds user by [[phone]]
  *
  * @return User|null
  */
 public function getUser()
 {
     if ($this->_user === false) {
         $this->_user = User::findByPhone($this->phone);
     }
     return $this->_user;
 }