コード例 #1
0
 public function handle()
 {
     $users = new UserRepository();
     $user = $users->findById($this->userId);
     $user->password = $this->newPassword;
     $user->update();
 }