Posts by Raphael França • 1 point
1 post
-
0
votes2
answers1147
viewsA: Relationship One for An Laravel
Don’t worry! In your model, declare the method as per Answer 1 above, but pass the fields of your tables involved in the relationship as parameter. class Curso extends Model { public function…
laravelanswered Raphael França 1