public static function iconIdentifier(string $iconKey, string $separator = '_'): string {
    $slugify        = new Slugify(['separator' => $separator]);
    $iconIdentifier = $slugify->slugify($iconKey);

    return $iconIdentifier;
  }
public static function iconIdentifier(string $iconKey, string $separator = '_'): string {
    $slugify        = new Slugify(['separator' => $separator]);
    $iconIdentifier = $slugify->slugify($iconKey);

    return $iconIdentifier;
  }
public static function iconIdentifier ( string $ iconKey , string $ separator = '_' ) : string { $ slugify = new Slugify ( [ 'separator' => $ separator ] ) ; $ iconIdentifier = $ slugify -> slugify ( $ iconKey ) ; return $ iconIdentifier ; }
Gets an icon identifier from an icon key.

@param string $iconKey The icon key
@param string $separator The optional separator, defaults to `_`
@return string The icon identifier
Gets an icon identifier from an icon key .