RESTfulAPI_EmberDataSerializer::getSideloadData
Fetches and return all the data that need to be sideloaded for a specific source DataObject or DataList.
Signature
protected function getSideloadData(DataObject|DataList
$dataSource )
Parameters
$dataSource
— object- The source data to fetch sideloaded records for
Returns
- array
- A map of relation names with their data