|
|
|
@ -444,7 +444,7 @@ class BaseInflector
|
|
|
|
|
* [[$transliteration]] array. |
|
|
|
|
* @param string $string An arbitrary string to convert |
|
|
|
|
* @param string $replacement The replacement to use for spaces |
|
|
|
|
* @param bool $lowercase |
|
|
|
|
* @param bool $lowercase whether to return the string in lowercase or not. Defaults to `true`. |
|
|
|
|
* @return string The converted string. |
|
|
|
|
*/ |
|
|
|
|
public static function slug($string, $replacement = '-', $lowercase = true) |
|
|
|
|