// iterating over items in collection
foreach ($orders as $singleOrder) {
// do something with individual objects
var_dump($singleOrder->getData());
}
// get first/last item in collection
$first = $orders->getFirstItem();
$last = $orders->getLastItem();