public function filter($predicate)
    {
        $this->iterator = Iterators::filter($this->iterator, $predicate);
        return $this;
    }
public function filter($predicate)
    {
        $this->iterator = Iterators::filter($this->iterator, $predicate);
        return $this;
    }
public function filter ( $ predicate ) { $ this -> iterator = Iterators :: filter ( $ this -> iterator , $ predicate ) ; return $ this ; }
Returns a fluent iterator returning elements of this fluent iterator that satisfy a predicate.
@param Closure $predicate
@return $this
Returns a fluent iterator returning elements of this fluent iterator that satisfy a predicate .