LMongo\Eloquent\Relations\BelongsTo::update PHP Метод

update() публичный Метод

Update the parent model on the relationship.
public update ( array $attributes ) : mixed
$attributes array
Результат mixed
    public function update(array $attributes)
    {
        $instance = $this->getResults();
        return $instance->fill($attributes)->save();
    }