protected function fetchUserData($userId)
{
$query = $this->dbHandler->createSelectQuery();
$query->select($this->dbHandler->quoteColumn('contentobject_id', 'ezuser'), $this->dbHandler->quoteColumn('login', 'ezuser'), $this->dbHandler->quoteColumn('email', 'ezuser'), $this->dbHandler->quoteColumn('password_hash', 'ezuser'), $this->dbHandler->quoteColumn('password_hash_type', 'ezuser'))->from($this->dbHandler->quoteTable('ezuser'))->where($query->expr->eq($this->dbHandler->quoteColumn('contentobject_id', 'ezuser'), $query->bindValue($userId)));
$stmt = $query->prepare();
$stmt->execute();
$rows = $stmt->fetchAll(\PDO::FETCH_ASSOC);
return isset($rows[0]) ? $this->convertColumnsToProperties($rows[0]) : array();
}