Data::encode() Encodes data with the specified handler kirby/src/Data/Data.php#L87 Data::encode($data, string $type): string Parameters Name Type Default $data * mixed – $type * string – Return type string Parent class Kirby\Data\Data