Пример #1
0
 public function getUserDetails()
 {
     return $this->hasOne(UsersRegister::className(), ['id' => 'user_id']);
 }