slug()
slug(string $string, string $separator = '-', string $locale = null) : \Symfony\Component\String\AbstractUnicodeString
Creates a slug for the given string and locale, using appropriate transliteration when needed.
Parameters
string | $string | |
string | $separator | |
string | $locale |