Skip to content

Kirby 4.1.2

Data::decode()

Decodes data with the specified handler

Data::decode($string, string $type): array

Parameters

Name Type Default
$string * mixed
$type * string

Return type

array

Parent class

Kirby\Data\Data