Skip to content

Instantly share code, notes, and snippets.

@blissdev
Created September 11, 2012 09:48
Show Gist options
  • Save blissdev/3697291 to your computer and use it in GitHub Desktop.
Save blissdev/3697291 to your computer and use it in GitHub Desktop.
$toArray = function($record) {
return $record->toArray();
}
$dynamicCollectionData = array_map($toArray, $dynamicCollectionData);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment