php - Accessing a nested object in Laravel Blade -


what blade syntax retrieving following query response? data eager loaded. each image linked separate table. how access object within object in blade? pretty new laravel. thanks!

enter image description here

controller

in action need pass data blade view:

return view('someview', compact('images'));//name of variable $images 

view

just use variable:

@foreach($image $image)     {{-- --}} @endforeach 

Comments