Posts by Rafael Mattos • 1 point
1 post
-
0
votes1
answer140
viewsQ: Laravel 5.2 non-object problem in foreach
I’m trying to pull the information from this relationship as you can see below: Model: public function endereco(){ return $this->belongsTo('App\Models\End\Logradouro_Bairro'); } public function…