src/Contrib/Component/Serializer/Factory.php
public static function createSerializer()
    {
        $encoders = array(new XmlEncoder(), new JsonEncoder(), new LtsvEncoder());
        $normalizers = array(new GetSetMethodNormalizer());

        return new Serializer($normalizers, $encoders);
    }
public static function createSerializer()
    {
        $encoders = array(new XmlEncoder(), new JsonEncoder(), new LtsvEncoder());
        $normalizers = array(new GetSetMethodNormalizer());

        return new Serializer($normalizers, $encoders);
    }
public static function createSerializer ( ) { $ encoders = array ( new XmlEncoder ( ) , new JsonEncoder ( ) , new LtsvEncoder ( ) ) ; $ normalizers = array ( new GetSetMethodNormalizer ( ) ) ; return new Serializer ( $ normalizers , $ encoders ) ; }
Create LTSV serializer.

@return \Symfony\Component\Serializer\Serializer
Create LTSV serializer .