Laravel - Collections - Method MakeHidden

The makeHidden method hides attributes that are typically "visible" on each model in the collection:

    
    $users = $users->makeHidden(['address', 'phone_number']);