src/Map.php
public function pairs(): Sequence
    {
        $copy = function($pair) {
            return $pair->copy();
        };

        return new Vector(array_map($copy, $this->pairs));
    }
public function pairs(): Sequence
    {
        $copy = function($pair) {
            return $pair->copy();
        };

        return new Vector(array_map($copy, $this->pairs));
    }
public function pairs ( ) : Sequence { $ copy = function ( $ pair ) { return $ pair -> copy ( ) ; } ; return new Vector ( array_map ( $ copy , $ this -> pairs ) ) ; }
Returns a sequence of pairs representing all associations.

@return Sequence
Returns a sequence of pairs representing all associations .