code: public static function boot() {
          parent::boot();
  
          self::creating(function($model){
          	$model->sanitizeAttributes();
          	return $model->validateCreate();
          });
  
          self::updating(function($model){
          	$model->sanitizeAttributes();
          	return $model->validateUpdate();
          });
      }
docs: /*
  SuperModel Atts End