function each(callable $closure) {
        foreach($this->data as $key => $val) {
            $feed = $closure($val, $key);
            if($feed === false) {
                break;
            }
        }
        
        return $this;
    }
function each(callable $closure) {
        foreach($this->data as $key => $val) {
            $feed = $closure($val, $key);
            if($feed === false) {
                break;
            }
        }
        
        return $this;
    }
function each ( callable $ closure ) { foreach ( $ this -> data as $ key => $ val ) { $ feed = $ closure ( $ val , $ key ) ; if ( $ feed === false ) { break ; } } return $ this ; }
Iterates over the items in the collection and passes each item to a given callback. Returning `false` in the callback will stop the processing.
@param callable  $closure  Callback specification: `function ($value, $key): bool`
@return $this
Iterates over the items in the collection and passes each item to a given callback . Returning false in the callback will stop the processing .