PHP Class Flarum\Util\Str

Exibir arquivo Open project: flarum/core Class Usage Examples

Public Methods

Method Description
slug ( string $str ) : string Create a slug out of the given string.

Method Details

slug() public static method

Non-alphanumeric characters are converted to hyphens.
public static slug ( string $str ) : string
$str string
return string