Skip to content

Kirby 4.4.1

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