src/precore/util/BufferedIterable.php
public function filter(callable $predicate) : BufferedIterable
    {
        return new BufferedIterable($this->chunkProvider, $predicate, $this->limit, $this->providerCallLimit);
    }
public function filter(callable $predicate) : BufferedIterable
    {
        return new BufferedIterable($this->chunkProvider, $predicate, $this->limit, $this->providerCallLimit);
    }
Filters the result list with the given predicate.

@param callable $predicate
@return BufferedIterable