/**
* Create user.
*
* @param user $user
*
* @return mixed
*/
public function createUser(User $user)
{
try {
return $this->innerGateway->createUser($user);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}