src/Traits/HandlesEloquentRelationManipulationTrait.php
public function detach(Model $model, $relation, $ids = array(), $touch = true)
    {
        return $model->{$relation}()->detach($ids, $touch);
    }
public function detach(Model $model, $relation, $ids = array(), $touch = true)
    {
        return $model->{$relation}()->detach($ids, $touch);
    }
public function detach ( Model $ model , $ relation , $ ids = array ( ) , $ touch = true ) { return $ model -> { $ relation } ( ) -> detach ( $ ids , $ touch ) ; }
Executes a detach on the model provided

@param  Model $model
@param  string   $relation name of the relation (method name)
@param  array    $ids
@param  boolean  $touch
@return
@internal param array $attributes
Executes a detach on the model provided