$field->toData()
Parses the field value with the given method
$field->toData(string $method = ','): array
Parameters
| Name | Type | Default | Description |
|---|---|---|---|
| $method | string |
','
|
[',', 'yaml', 'json'] |
Return type
array