markwilson / array-filtering
This package is abandoned and no longer maintained.
No replacement package was suggested.
Array filtering
0.1.1
2018-02-02 12:32 UTC
Requires (Dev)
- phpunit/phpunit: 4.1.0
This package is not auto-updated.
Last update: 2021-01-23 09:20:37 UTC
README
Simplified array filtering.
use MarkWilson\ArrayFiltering\ArrayFiltering;
$myArray = [ ... ];
$filter = new MyFilter(...); // a FilterInterface instance
$filtering = new ArrayFiltering($myData);
$filteredArray = $filtering->filterBy($filter);