Current File : //var/www/vinorea/vendor/friendsofsymfony/jsrouting-bundle/Resources/config/serializer.xml
<?xml version="1.0" ?>
<container xmlns="http://symfony.com/schema/dic/services"
    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd">

    <parameters>
        <parameter key="fos_js_routing.normalizer.route_collection.class">FOS\JsRoutingBundle\Serializer\Normalizer\RouteCollectionNormalizer</parameter>
        <parameter key="fos_js_routing.normalizer.routes_response.class">FOS\JsRoutingBundle\Serializer\Normalizer\RoutesResponseNormalizer</parameter>

        <parameter key="fos_js_routing.denormalizer.route_collection.class">FOS\JsRoutingBundle\Serializer\Denormalizer\RouteCollectionDenormalizer</parameter>
    </parameters>

    <services>
        <service id="fos_js_routing.serializer" class="Symfony\Component\Serializer\Serializer" public="true">
            <argument type="collection">
                <argument type="service" id="fos_js_routing.normalizer.route_collection" />
                <argument type="service" id="fos_js_routing.normalizer.routes_response" />
                <argument type="service" id="fos_js_routing.denormalizer.route_collection" />
            </argument>
            <argument type="collection">
                <argument key="json" type="service" id="fos_js_routing.encoder" />
            </argument>
        </service>

        <service id="fos_js_routing.normalizer.route_collection" class="%fos_js_routing.normalizer.route_collection.class%" public="false" />
        <service id="fos_js_routing.normalizer.routes_response" class="%fos_js_routing.normalizer.routes_response.class%" public="false" />

        <service id="fos_js_routing.denormalizer.route_collection" class="%fos_js_routing.denormalizer.route_collection.class%" public="false" />

        <service id="fos_js_routing.encoder" class="Symfony\Component\Serializer\Encoder\JsonEncoder" public="false" />
    </services>
</container>