<?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">

    <services>
        <service
                id="cmf_routing.validator.route_defaults"
                class="Symfony\Cmf\Bundle\RoutingBundle\Validator\Constraints\RouteDefaultsTwigValidator"
        >
            <argument id="controller_resolver" type="service"/>
            <argument id="twig.loader" type="service" on-invalid="null"/>
            <tag name="validator.constraint_validator" alias="cmf_routing.validator.route_defaults" />
        </service>
    </services>
</container>
