datasync_pluckAttribute()
datasync_pluckAttribute(string $key, $arrSource) : array
Takes an array of objects and returns an array of $key from each object.
Parameters
string | $key | The attribute to pluck from the array of objects |
$arrSource |
Returns
array —The array of $keys from each object.