Skip to content

Kirby 4.5.0

Str::kebab()

Convert a string to kebab case.

Str::kebab(?string $value = null): string

Parameters

Name Type Default
$value string|null null

Return type

string

Parent class

Kirby\Toolkit\Str