<?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="api.property_info" class="PropertyInfo\PropertyInfo" public="false">
            <argument type="collection">
                <argument type="service" id="api.property_info.doctrine_extractor" />
                <argument type="service" id="api.property_info.setter_extractor" />
                <argument type="service" id="api.property_info.php_doc_extractor" />
            </argument>
            <argument type="collection">
                <argument type="service" id="api.property_info.php_doc_extractor" />
            </argument>
        </service>

        <service id="api.property_info.doctrine_extractor" class="PropertyInfo\Extractors\DoctrineExtractor" public="false">
            <argument type="service" id="api.doctrine.metadata_factory" />
        </service>

        <service id="api.property_info.php_doc_extractor" class="PropertyInfo\Extractors\PhpDocExtractor" public="false" />

        <service id="api.property_info.setter_extractor" class="PropertyInfo\Extractors\SetterExtractor" public="false" />
    </services>

</container>
