public removeWhere ( callable $predicate ) : void | ||
$predicate | callable | |
return | void |
public function removeWhere(callable $predicate);
/** * @dataProvider everything */ public function testThatRemoveWhereFalseRemovesNoItems(\Pinq\ICollection $collection, array $data) { $collection->removeWhere(function () { return false; }); $this->assertMatchesValues($collection, $data); }