<?xml version="1.0" encoding="UTF-8" ?>

<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="sonata.admin.validator.inline" class="Sonata\AdminBundle\Validator\InlineValidator">
            <argument type="service" id="service_container" />
            <argument type="service" id="validator.validator_factory" />

            <tag name="validator.constraint_validator" alias="sonata.admin.validator.inline" />
        </service>
    </services>

</container>
