Querying Relations: Relationship Methods Vs. Dynamic Properties

$user = App\User::find(1);

foreach ($user->posts as $post) {
    //
}

Querying Relations: Relationship Methods Vs. Dynamic Properties — Structure map

Clickable & Draggable!

Querying Relations: Relationship Methods Vs. Dynamic Properties — Related pages: