public function getIterator(): Traversable
    {
        foreach ($this->values as $index => &$value) {
            yield $this->keys[$index] => $value;
        }
    }
public function getIterator(): Traversable
    {
        foreach ($this->values as $index => &$value) {
            yield $this->keys[$index] => $value;
        }
    }
public function getIterator ( ) : Traversable { foreach ( $ this -> values as $ index => & $ value ) { yield $ this -> keys [ $ index ] => $ value ; } }
Get the map iterator.

@return Traversable The map iterator.
Get the map iterator .