示例#1
0
 public function updateUser(User $user)
 {
     $this->update($user->toArray(), array('user_id' => $user->user_id));
 }