/**
  * Register the validation event for restoring the model.
  *
  * @param  \Illuminate\Database\Eloquent\Model $model
  * @return boolean
  */
 public function restoring(Model $model)
 {
     if ($model->getRuleset('restoring')) {
         return $this->performValidation($model, 'restoring');
     }
 }
 /**
  * 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 boolean
  */
 public function saving(Model $model)
 {
     if (!$model->getRuleset('creating') && !$model->getRuleset('updating')) {
         return $this->performValidation($model, 'saving');
     }
 }