public static slug ( string $string, string $replacement = '-', boolean $lowercase = true ) : string | ||
$string | string | An arbitrary string to convert |
$replacement | string | The replacement to use for spaces |
$lowercase | boolean | whether to return the string in lowercase or not. Defaults to `true`. |
return | string | The converted string. |