Skip to content

Kirby 4.5.0

Handler::encode()

Converts an array to an encoded string

Handler::encode($data): string

Parameters

Name Type Default
$data * mixed

Return type

string

Parent class

Kirby\Data\Handler