@@ 68-75 (lines=8) @@ | ||
65 | $this->newMethod(__FUNCTION__, [$values])); |
|
66 | } |
|
67 | ||
68 | public function addRange($values) |
|
69 | { |
|
70 | if (!Utilities::isIterable($values)) { |
|
71 | throw PinqException::invalidIterable(__METHOD__, $values); |
|
72 | } |
|
73 | ||
74 | $this->executeQuery($this->newMethod(__FUNCTION__, [$values])); |
|
75 | } |
|
76 | ||
77 | public function apply(callable $function) |
|
78 | { |
|
@@ 87-94 (lines=8) @@ | ||
84 | $this->executeQuery($this->newMethod(__FUNCTION__, [$value])); |
|
85 | } |
|
86 | ||
87 | public function removeRange($values) |
|
88 | { |
|
89 | if (!Utilities::isIterable($values)) { |
|
90 | throw PinqException::invalidIterable(__METHOD__, $values); |
|
91 | } |
|
92 | ||
93 | $this->executeQuery($this->newMethod(__FUNCTION__, [$values])); |
|
94 | } |
|
95 | ||
96 | public function removeWhere(callable $predicate) |
|
97 | { |