I have no clue. I would rather think that ->addresses()->push(..) would link it, without setti...
One shop has "one" opening hours, so it is hasOne But you don't have to loop over the hour...
Hi, If it hasOne('Hour'), why should it be an array ?
Hi, I think you may be loonking for the associate method. ( ~> http://laravel.com/docs/4.2/eloque...
The Laravel portal for problem solving, knowledge sharing and community building.
The community