Retrieving Models: Refreshing Models

$flight = App\Flight::where('number', 'FR 900')->first();

$freshFlight = $flight->fresh();
$flight = App\Flight::where('number', 'FR 900')->first();

$flight->number = 'FR 456';

$flight->refresh();

$flight->number; // "FR 900"

Retrieving Models: Refreshing Models — Structure map

Clickable & Draggable!

Retrieving Models: Refreshing Models — Related pages: