I have 3 Models that are related so : "Tutorial" belongs To "Title" that belongs to "Course". Or (the other way) . A "Course" has many "Titles" that have many "Tutorials" . And I want to find a course based on its id and grab all its titles and tutorials using the eager loading . the code looks so :
$course = Course::with('titles')->where('id','=',$id)->get();
// this returns only a Course with its titles , but I want to get also tutorials that belongs to each title.