classes/Fields/BelongsTo.php
public function parentModel()
    {
        if ($this->value
            && ($relation = $this->guessRelation())
            && ($model = $this->getModel())
            && method_exists($model, $relation)) {
            return $model->$relation;
        }
    }
public function parentModel()
    {
        if ($this->value
            && ($relation = $this->guessRelation())
            && ($model = $this->getModel())
            && method_exists($model, $relation)) {
            return $model->$relation;
        }
    }
public function parentModel ( ) { if ( $ this -> value && ( $ relation = $ this -> guessRelation ( ) ) && ( $ model = $ this -> getModel ( ) ) && method_exists ( $ model , $ relation ) ) { return $ model -> $ relation ; } }
Get the parent record of the form instance

@return Illuminate\Database\Eloquent\Model
Get the parent record of the form instance