protected function getUniqueId(Theme $theme)
    {
        $baseId = $theme->getId();

        $idNumber = 0;
        while ($this->hasTheme($baseId . $idNumber)) {
            $idNumber++;
        }

        return $baseId . $idNumber;
    }
protected function getUniqueId(Theme $theme)
    {
        $baseId = $theme->getId();

        $idNumber = 0;
        while ($this->hasTheme($baseId . $idNumber)) {
            $idNumber++;
        }

        return $baseId . $idNumber;
    }
protected function getUniqueId ( Theme $ theme ) { $ baseId = $ theme -> getId ( ) ; $ idNumber = 0 ; while ( $ this -> hasTheme ( $ baseId . $ idNumber ) ) { $ idNumber ++ ; } return $ baseId . $ idNumber ; }
Returns the unique identifier.

@param Theme $theme

@return string
Returns the unique identifier .