Skip to content

Instantly share code, notes, and snippets.

@muskie9
Created April 13, 2016 18:07
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save muskie9/53a703ac1eb3b3dfff2b8635c562dfaa to your computer and use it in GitHub Desktop.
Save muskie9/53a703ac1eb3b3dfff2b8635c562dfaa to your computer and use it in GitHub Desktop.
<?php
$results = episode::getEpsThreeDays(date("Y-m-d 00:00:00", $startDate->format('U')));
$list = ArrayList::create();
foreach($results as $result){
$arrayListItem = ArrayData::create($result);
$list->push($arrayListItem);
}
return $list;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment