| 1 | <?php namespace BuildR\Collection\Utils; |
||
| 18 | class ArrayFilter { |
||
| 19 | |||
| 20 | /** |
||
| 21 | * Execute the filter on the on the given data set. This function |
||
| 22 | * will preserve array keys. |
||
| 23 | * |
||
| 24 | * @param array $data |
||
| 25 | * @param callable $filter |
||
| 26 | * |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | 4 | public static function execute($data, callable $filter) { |
|
| 40 | |||
| 41 | } |
||
| 42 |