Exemple #1
0
 /**
  * Returns user model by user id.
  * @param integer $id user id. Default - current user id.
  * @return \marsoltys\yii2user\models\User
  */
 public function model($id = 0)
 {
     return $this->module->user($id);
 }