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

        $this
            ->toPg(
                (object) [
                    'value' => 1.66180339887
                ],
                'decimal'
            )
            ->shouldBeLike(new Value('1.66180339887', new Type('decimal')))
        ;
    }
function it_converts_and_normalizes_values_to_pg($normalizer, $converter)
    {
        $this->setType('decimal', $converter, $normalizer);

        $this
            ->toPg(
                (object) [
                    'value' => 1.66180339887
                ],
                'decimal'
            )
            ->shouldBeLike(new Value('1.66180339887', new Type('decimal')))
        ;
    }
function it_converts_and_normalizes_values_to_pg ( $ normalizer , $ converter ) { $ this -> setType ( 'decimal' , $ converter , $ normalizer ) ; $ this -> toPg ( ( object ) [ 'value' => 1.66180339887 ] , 'decimal' ) -> shouldBeLike ( new Value ( '1.66180339887' , new Type ( 'decimal' ) ) ) ; }
It converts and normalizes values to pg

@param \Phn\Mapping\Normalizer\NormalizerInterface $normalizer
@param \Phn\Mapping\Converter\ConverterInterface   $converter
It converts and normalizes values to pg