<?php

namespace App\Classes\Modules\Documents\Services;

use App\Classes\General\Eloquent\AbstractUpdateRecord;
use App\Models\Document;

class UpdatesDocumentReference extends AbstractUpdateRecord
{

    /**
     * @param Document $model
     * @return mixed
     */
    public function execute(Document $model, string $reference) {
        $model->reference = $reference;
        return $this->handler($model);
    }

}