toArray() public abstract method
Converts the object into an array.
public abstract array toArray ( array $fields = [], array $expand = [], $recursive = true )$fields array
The fields that the output array should contain. Fields not specified in fields() will be ignored. If this parameter is empty, all fields as specified in fields() will be returned. $expand array
The additional fields that the output array should contain. Fields not specified in extraFields() will be ignored. If this