Skip to content

Commit

Permalink
Remove ArraySortTransformer (#531)
Browse files Browse the repository at this point in the history
  • Loading branch information
stloyd authored Oct 6, 2023
1 parent 2adbbbc commit 5a4ce9e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 138 deletions.
1 change: 0 additions & 1 deletion src/core/etl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -219,7 +219,6 @@ Adapters might also define some custom transformers.
* [static entry](src/Flow/ETL/Transformer/StaticEntryTransformer.php) - [tests](tests/Flow/ETL/Tests/Unit/Transformer/StaticEntryTransformerTest.php)
* **Array**
* [array keys style converter](src/Flow/ETL/Transformer/ArrayKeysStyleConverterTransformer.php) - [tests](tests/Flow/ETL/Tests/Unit/Transformer/ArrayKeysStyleConverterTransformerTest.php)
* [array sort](src/Flow/ETL/Transformer/ArraySortTransformer.php) - [tests](tests/Flow/ETL/Tests/Unit/Transformer/ArraySortTransformerTest.php)
* **Callback** - *Might come with performance degradation*
* [callback row](src/Flow/ETL/Transformer/CallbackRowTransformer.php) - [tests](tests/Flow/ETL/Tests/Unit/Transformer/CallbackRowTransformerTest.php)

Expand Down
5 changes: 0 additions & 5 deletions src/core/etl/src/Flow/ETL/DSL/Transform.php
Original file line number Diff line number Diff line change
Expand Up @@ -64,11 +64,6 @@ final public static function array_convert_keys(string $array_column, string $st
);
}

final public static function array_sort(string $array_name, int $sort_flag = \SORT_REGULAR) : Transformer
{
return new Transformer\ArraySortTransformer($array_name, $sort_flag);
}

/**
* @param callable(Row) : Row $callable
*/
Expand Down
63 changes: 0 additions & 63 deletions src/core/etl/src/Flow/ETL/Transformer/ArraySortTransformer.php

This file was deleted.

This file was deleted.

0 comments on commit 5a4ce9e

Please sign in to comment.