withOutTrashed laravel code example Example: laravel query with trashed $user->roles()->withTrashed()->get();