/**
* Update the user information specified by the user struct.
*
* @param User $user
*/
public function updateUser(User $user)
{
try {
return $this->innerGateway->updateUser($user);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}