It looks like Shows is a collection from your example, so if you access one of them, you can then get though to the episodes method. You can't access all of the episodes directly like your example.
For example, this below will get the episodes for the first show.
App\User::find(1)->shows->first()->episodes
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community