src/Actions/RemoveSelected.php
public function handle(Model $eloquent, Request $request)
    {
        return $this->fetchForDelete($eloquent, $request)
                    ->each(function ($item) {
                        return $this->canDelete($item) ? $item->delete() : $item;
                    });
    }
public function handle(Model $eloquent, Request $request)
    {
        return $this->fetchForDelete($eloquent, $request)
                    ->each(function ($item) {
                        return $this->canDelete($item) ? $item->delete() : $item;
                    });
    }
public function handle ( Model $ eloquent , Request $ request ) { return $ this -> fetchForDelete ( $ eloquent , $ request ) -> each ( function ( $ item ) { return $ this -> canDelete ( $ item ) ? $ item -> delete ( ) : $ item ; } ) ; }
Delete collection elements.

@param Model $eloquent
@param Request $request

@return mixed
Delete collection elements .