laravel how to access from belongsto relation parameter code example
Example: laravel eloquent associate
$account = App\Account::find(10);
$user->account()->associate($account);
$user->save();
$account = App\Account::find(10);
$user->account()->associate($account);
$user->save();