src/Traits/Accountable.php
public function updatedBy()
    {
        $relation = $this->belongsTo(
            AccountableServiceProvider::userModel(),
            config('accountable.column_names.updated_by')
        );

        return $this->userModelUsesSoftDeletes() ? $relation->withTrashed() : $relation;
    }
public function updatedBy()
    {
        $relation = $this->belongsTo(
            AccountableServiceProvider::userModel(),
            config('accountable.column_names.updated_by')
        );

        return $this->userModelUsesSoftDeletes() ? $relation->withTrashed() : $relation;
    }
public function updatedBy ( ) { $ relation = $ this -> belongsTo ( AccountableServiceProvider :: userModel ( ) , config ( 'accountable.column_names.updated_by' ) ) ; return $ this -> userModelUsesSoftDeletes ( ) ? $ relation -> withTrashed ( ) : $ relation ; }
Define the updated by relationship.

@return \Illuminate\Database\Eloquent\Relations\BelongsTo
Define the updated by relationship .