public function create($attributes) {
        if (!isset($attributes['uuid'])) { $attributes['uuid'] = Uuid::uuid4()->toString(); }
        return parent::create($attributes);
    }
public function create($attributes) {
        if (!isset($attributes['uuid'])) { $attributes['uuid'] = Uuid::uuid4()->toString(); }
        return parent::create($attributes);
    }
public function create ( $ attributes ) { if ( ! isset ( $ attributes [ 'uuid' ] ) ) { $ attributes [ 'uuid' ] = Uuid :: uuid4 ( ) -> toString ( ) ; } return parent :: create ( $ attributes ) ; }
add UUID when creating
add UUID when creating