$field->toArray()
Converts the Field object to an array
$field->toArray(): arrayReturn type
array
This method modifies the existing $field object it is applied to and returns it again.
Converts the Field object to an array
$field->toArray(): arrayarray
This method modifies the existing $field object it is applied to and returns it again.