public static function destroy($ids)
    {
        if (UuidValidator::validate($ids)) {
            return static::destroyByUuid($ids);
        } else {
            return parent::destroy($ids);
        }
    }
public static function destroy($ids)
    {
        if (UuidValidator::validate($ids)) {
            return static::destroyByUuid($ids);
        } else {
            return parent::destroy($ids);
        }
    }
public static function destroy ( $ ids ) { if ( UuidValidator :: validate ( $ ids ) ) { return static :: destroyByUuid ( $ ids ) ; } else { return parent :: destroy ( $ ids ) ; } }
Wrapper to allow both IDs and UUIDs to be used

@param  array|int  $ids
@return int
Wrapper to allow both IDs and UUIDs to be used