$sanitizerkebabCase()

Alias of hyphenCase()

Usage

// basic usage $string = $sanitizer->kebabCase(string $value);  // usage with all arguments $string = $sanitizer->kebabCase(string $value, array $options = []);

Arguments

NameType(s)Description
$valuestring
$options (optional)array

See hyphenCase()

Return value

string


$sanitizer methods and properties

API reference based on ProcessWire core version 3.0.255