$sanitizer→kebabCase()
Alias of hyphenCase()
Usage
// basic usage
$string = $sanitizer->kebabCase(string $value);
// usage with all arguments
$string = $sanitizer->kebabCase(string $value, array $options = []);
Arguments
Name | Type(s) | Description |
---|---|---|
$value | string | |
$options (optional) | array | See hyphenCase() |
Return value
string
$sanitizer methods and properties
API reference based on ProcessWire core version 3.0.251