Colymba\RESTfulAPI\Serializers\DefaultSerializer::formatDataObject
Format a DataObject keys and values ready to be turned into JSON
Signature
protected function formatDataObject(DataObject
$dataObject )
Parameters
$dataObject
— SilverStripe\ORM\DataObject- The data object to format
Returns
- array|null
- The formatted array map representation of the DataObject or null
is permission denied