Creates a URL-friendly slug from a given string.
- author Titouan Galopin
AbstractInterface
Methods |
public abstract slug(string $string, string $separator = '-', ?string $locale = NULL) : Symfony Creates a slug for the given string and locale, using appropriate transliteration when needed. |