I have a user table that makes relationship with profile belongsTo
, and the profile makes relationship with items from area belongsToMany
, and items from area makes relationship with area belongsTo
, it is bringing my item from area, but I would like to bring my area in the data, could anyone tell me how I can do this?
I am making the call as follows
Auth::user()->profiles->areasItens->toArray();