The first argument passed to the hasManyThrough method is the name of the final model we wish to access, while the second argument is the name of the intermediate model.
return $this->hasManyThrough( 'App\Models\Post', 'App\Models\User', 'country_id', // Foreign key on users table... 'user_id', // Foreign key on posts table... 'id', // Local key on countries table... 'id' // Local key on users table... );
народ, спасибо за кусочки из документации, но я ее реально несколько раз прочел и обратился за помощью не чтобы меня в доку носом тыкали, а потому, что в доке не тот случай описан