/**
* Loads user with user ID.
*
* @param mixed $userId
*
* @return array
*/
public function load($userId)
{
try {
return $this->innerGateway->load($userId);
} catch (DBALException $e) {
throw new RuntimeException('Database error', 0, $e);
} catch (PDOException $e) {
throw new RuntimeException('Database error', 0, $e);
}
}