ApiDataObject::populateWithData
This method will populate a DataObject with data from a given array (recommend) or DataObject Use this method to apply data from request(s) (body or other parameters)
Signature
public function populateWithData(
$data,
[
$only = NULL,
[
$exclude = NULL]] )
Parameters
$data
—$only
—$exclude
—