spec/Phn/Mapping/HierarchicalMapperSpec.php
function it_converts_sets_to_pg($converter)
    {
        $this->setType('decimal', $converter);

        $this->toPg([3.14159265359, 1.66180339887], 'decimal[]')->shouldBeLike(new Set(
            [
                new Value('3.14159265359', new Type('decimal')),
                new Value('1.66180339887', new Type('decimal'))
            ],
            new ArrayType(new Type('decimal'))
        ));
    }
function it_converts_sets_to_pg($converter)
    {
        $this->setType('decimal', $converter);

        $this->toPg([3.14159265359, 1.66180339887], 'decimal[]')->shouldBeLike(new Set(
            [
                new Value('3.14159265359', new Type('decimal')),
                new Value('1.66180339887', new Type('decimal'))
            ],
            new ArrayType(new Type('decimal'))
        ));
    }
function it_converts_sets_to_pg ( $ converter ) { $ this -> setType ( 'decimal' , $ converter ) ; $ this -> toPg ( [ 3.14159265359 , 1.66180339887 ] , 'decimal[]' ) -> shouldBeLike ( new Set ( [ new Value ( '3.14159265359' , new Type ( 'decimal' ) ) , new Value ( '1.66180339887' , new Type ( 'decimal' ) ) ] , new ArrayType ( new Type ( 'decimal' ) ) ) ) ; }
It converts sets to pg.

@param \Phn\Mapping\Converter\ConverterInterface $converter
It converts sets to pg .