src/InterfaceBuilder/Forms/Fields/FancyUpload.php
/**
     * Determines how the field is saved to a model.
     *
     * @param \Illuminate\Database\Eloquent\Model $model
     * @param \Illuminate\Http\Request            $request
     *
     * @return $this
     */
Determines how the field is saved to a model.

@return $this
Determines how the field is saved to a model . @return $this
public function saveToModel(Model $model, Request $request)
    {
        $parameters = $this->parseFieldParameters();
        $isMulti = isset($parameters['maxFileCount']) && $parameters['maxFileCount'] > 1 ? true : false;
        if (! $isMulti) {
            return parent::saveToModel($model, $request);
        }
        return $this;
    }
public function saveToModel ( Model $ model , Request $ request ) { $ parameters = $ this -> parseFieldParameters ( ) ; $ isMulti = isset ( $ parameters [ 'maxFileCount' ] ) && $ parameters [ 'maxFileCount' ] > 1 ? true : false ; if ( ! $ isMulti ) { return parent :: saveToModel ( $ model , $ request ) ; } return $ this ; }
Determines how the field is saved to a model.
Determines how the field is saved to a model .