src/Listeners/Updating.php
public function handle($model)
    {
        if (! $model -> isUserstamping() || is_null($model -> getUpdatedByColumn())) {
            return;
        }

        $model -> {$model -> getUpdatedByColumn()} = auth() -> id();
    }
public function handle($model)
    {
        if (! $model -> isUserstamping() || is_null($model -> getUpdatedByColumn())) {
            return;
        }

        $model -> {$model -> getUpdatedByColumn()} = auth() -> id();
    }
public function handle ( $ model ) { if ( ! $ model -> isUserstamping ( ) || is_null ( $ model -> getUpdatedByColumn ( ) ) ) { return ; } $ model -> { $ model -> getUpdatedByColumn ( ) } = auth ( ) -> id ( ) ; }
When the model is being updated.

@param Illuminate\Database\Eloquent $model
@return void
When the model is being updated .