src/FluentKit/SuperModel/SuperModel.php
public static function boot() {
        parent::boot();

        self::creating(function($model){
        	$model->sanitizeAttributes();
        	return $model->validateCreate();
        });

        self::updating(function($model){
        	$model->sanitizeAttributes();
        	return $model->validateUpdate();
        });
    }
public static function boot() {
        parent::boot();

        self::creating(function($model){
        	$model->sanitizeAttributes();
        	return $model->validateCreate();
        });

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