Retrieving Models: Collections

$flights = $flights->reject(function ($flight) {
    return $flight->cancelled;
});
Foreach ($flights as $flight) {
    echo $flight->name;
}

Retrieving Models: Collections — Structure map

Clickable & Draggable!

Retrieving Models: Collections — Related pages: