Skip to content

Kirby 4.5.0

Str::encode()

Encode a string (used for email addresses)

Str::encode(string $string): string

Parameters

Name Type Default
$string * string

Return type

string

Parent class

Kirby\Toolkit\Str