Data::decode()
Decodes data with the specified handler
Data::decode($string, string $type, bool $fail = true): array
Parameters
| Name | Type | Default |
|---|---|---|
| $stringrequired | mixed |
no default value |
| $typerequired | string |
no default value |
| $fail | bool |
true
|
Return type
array