<!--
  ~ This file is part of the Alice package.
  ~
  ~ (c) Nelmio <hello@nelm.io>
  ~
  ~ For the full copyright and license information, please view the LICENSE
  ~ file that was distributed with this source code.
  -->

<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="nelmio_alice.generator.hydrator"
                 alias="nelmio_alice.generator.hydrator.simple" />

        <service id="nelmio_alice.generator.hydrator.simple"
                 class="Nelmio\Alice\Generator\Hydrator\SimpleHydrator">
            <argument type="service" id="nelmio_alice.generator.hydrator.property" />
        </service>

        <service id="nelmio_alice.generator.hydrator.property"
                 alias="nelmio_alice.generator.hydrator.property.symfony_property_access" />

        <service id="nelmio_alice.generator.hydrator.property.symfony_property_access"
                 class="Nelmio\Alice\Generator\Hydrator\Property\SymfonyPropertyAccessorHydrator">
            <argument type="service" id="nelmio_alice.property_accessor" />
        </service>

    </services>

</container>
