Data::encode()
Encodes data with the specified handler
Data::encode(mixed $data, string $type): string
Parameters
Name | Type | Default |
---|---|---|
$data * | mixed |
– |
$type * | string |
– |
Return type
string
Encodes data with the specified handler
Data::encode(mixed $data, string $type): string
Name | Type | Default |
---|---|---|
$data * | mixed |
– |
$type * | string |
– |
string