Skip to content

Kirby 4.4.1

Str::snake()

Convert a string to snake case.

Str::snake(?string $value = null, string $delimiter = '_'): string

Parameters

Name Type Default
$value string|null null
$delimiter string '_'

Return type

string

Parent class

Kirby\Toolkit\Str