Yaml::encode()
Converts an array to an encoded YAML string
Yaml::encode(mixed $data): string
Parameters
| Name | Type | Default |
|---|---|---|
| $data * | mixed |
– |
Return type
string
Converts an array to an encoded YAML string
Yaml::encode(mixed $data): string
| Name | Type | Default |
|---|---|---|
| $data * | mixed |
– |
string