|
|
@ -444,7 +444,7 @@ class BaseInflector |
|
|
|
* [[$transliteration]] array. |
|
|
|
* [[$transliteration]] array. |
|
|
|
* @param string $string An arbitrary string to convert |
|
|
|
* @param string $string An arbitrary string to convert |
|
|
|
* @param string $replacement The replacement to use for spaces |
|
|
|
* @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. |
|
|
|
* @return string The converted string. |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
public static function slug($string, $replacement = '-', $lowercase = true) |
|
|
|
public static function slug($string, $replacement = '-', $lowercase = true) |
|
|
|