public function saving(Model $model)
    {
        if ( ! $model->getRuleset('creating') && ! $model->getRuleset('updating')) {
            return $this->performValidation($model, 'saving');
        }
    }
public function saving(Model $model)
    {
        if ( ! $model->getRuleset('creating') && ! $model->getRuleset('updating')) {
            return $this->performValidation($model, 'saving');
        }
    }
public function saving ( Model $ model ) { if ( ! $ model -> getRuleset ( 'creating' ) && ! $ model -> getRuleset ( 'updating' ) ) { return $ this -> performValidation ( $ model , 'saving' ) ; } }
Register the validation event for saving the model. Saving validation
should only occur if creating and updating validation does not.

@param Illuminate\Database\Eloquent\Model $model

@return bool
Register the validation event for saving the model . Saving validation should only occur if creating and updating validation does not .