"or" operator
| name | income |
|---|---|
| John | $50,000 |
| Marry | $60,000 |
| Peter | $100,000 |
| Donald | $80,000 |
->pipe(new Filter(array(
function ($row) {
return ((float) $row['income']) > 50000;
},
function ($row) {
return ((float) $row['income']) < 90000;
},
)))
| name | income |
|---|---|
| Marry | $60,000 |
| Donald | $80,000 |