Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

108 lines (85 sloc) 6.068 kB
<?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="doctrine_phpcr.odm.configuration.class">Doctrine\ODM\PHPCR\Configuration</parameter>
<parameter key="doctrine_phpcr.odm.document_manager.class">Doctrine\ODM\PHPCR\DocumentManager</parameter>
<!-- Translation strategies -->
<parameter key="doctrine_phpcr.odm.translation.strategy.attribute.class">Doctrine\ODM\PHPCR\Translation\TranslationStrategy\AttributeTranslationStrategy</parameter>
<parameter key="doctrine_phpcr.odm.translation.strategy.child.class">Doctrine\ODM\PHPCR\Translation\TranslationStrategy\ChildTranslationStrategy</parameter>
<!-- cache -->
<parameter key="doctrine_phpcr.odm.cache.array.class">Doctrine\Common\Cache\ArrayCache</parameter>
<parameter key="doctrine_phpcr.odm.cache.apc.class">Doctrine\Common\Cache\ApcCache</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcache.class">Doctrine\Common\Cache\MemcacheCache</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcache_host">localhost</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcache_port">11211</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcache_instance.class">Memcache</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcached.class">Doctrine\Common\Cache\MemcachedCache</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcached_host">localhost</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcached_port">11211</parameter>
<parameter key="doctrine_phpcr.odm.cache.memcached_instance.class">Memcached</parameter>
<parameter key="doctrine_phpcr.odm.cache.xcache.class">Doctrine\Common\Cache\XcacheCache</parameter>
<!-- form field factory guesser -->
<parameter key="form.type_guesser.doctrine_phpcr.class">Doctrine\Bundle\PHPCRBundle\Form\PhpcrOdmTypeGuesser</parameter>
<parameter key="doctrine_phpcr.odm.form.path.type.class">Doctrine\Bundle\PHPCRBundle\Form\Type\PathType</parameter>
<parameter key="doctrine_phpcr.odm.metadata.driver_chain.class">Doctrine\Common\Persistence\Mapping\Driver\MappingDriverChain</parameter>
<parameter key="doctrine_phpcr.odm.metadata.annotation.class">Doctrine\ODM\PHPCR\Mapping\Driver\AnnotationDriver</parameter>
<parameter key="doctrine_phpcr.odm.metadata.xml.class">Doctrine\Bundle\PHPCRBundle\Mapping\Driver\XmlDriver</parameter>
<parameter key="doctrine_phpcr.odm.metadata.yml.class">Doctrine\Bundle\PHPCRBundle\Mapping\Driver\YamlDriver</parameter>
<parameter key="doctrine_phpcr.odm.metadata.php.class">Doctrine\Common\Persistence\Mapping\Driver\StaticPHPDriver</parameter>
<parameter key="doctrine_phpcr.odm.proxy_cache_warmer.class">Symfony\Bridge\Doctrine\CacheWarmer\ProxyCacheWarmer</parameter>
<!-- validator -->
<parameter key="doctrine_phpcr.odm.validator.valid_phpcr_odm.class">Doctrine\Bundle\PHPCRBundle\Validator\Constraints\ValidPhpcrOdmValidator</parameter>
</parameters>
<services>
<service id="doctrine_phpcr.odm.proxy_cache_warmer" class="%doctrine_phpcr.odm.proxy_cache_warmer.class%"
public="false">
<tag name="kernel.cache_warmer"/>
<argument type="service" id="doctrine_phpcr"/>
</service>
<service id="doctrine_phpcr.odm.metadata.annotation_reader" alias="annotation_reader" public="false" />
<service
id="doctrine_phpcr.odm.configuration"
class="%doctrine_phpcr.odm.configuration.class%"
abstract="true"
public="false"
/>
<service
id="doctrine_phpcr.odm.document_manager.abstract"
class="%doctrine_phpcr.odm.document_manager.class%"
abstract="true"
/>
<service id="form.type.phpcr_odm.reference_collection" class="Doctrine\Bundle\PHPCRBundle\Form\Type\PHPCRODMReferenceCollectionType">
<tag name="form.type" alias="phpcr_odm_reference_collection"/>
<argument type="service" id="doctrine_phpcr.odm.document_manager"/>
</service>
<service id="form.type.phpcr.document" class="Doctrine\Bundle\PHPCRBundle\Form\Type\DocumentType">
<tag name="form.type" alias="phpcr_document"/>
<argument type="service" id="doctrine_phpcr"/>
</service>
<service id="doctrine_phpcr.odm.form.type.path" class="%doctrine_phpcr.odm.form.path.type.class%">
<argument type="service" id="doctrine_phpcr"/>
<tag name="form.type" alias="phpcr_odm_path"/>
</service>
<service id="form.type_guesser.doctrine_phpcr" class="%form.type_guesser.doctrine_phpcr.class%">
<tag name="form.type_guesser"/>
<argument type="service" id="doctrine_phpcr"/>
<argument>%doctrine_phpcr.form.type_guess%</argument>
</service>
<service id="doctrine_phpcr.odm.validator.valid_phpcr_odm" class="%doctrine_phpcr.odm.validator.valid_phpcr_odm.class%">
<argument type="service" id="doctrine_phpcr" />
<tag name="validator.constraint_validator" alias="doctrine_phpcr.odm.validator.valid_phpcr_odm"/>
</service>
<!-- Translation strategies -->
<service id="doctrine_phpcr.odm.translation.strategy.attribute" class="%doctrine_phpcr.odm.translation.strategy.attribute.class%">
<argument />
<call method="setPrefix">
<argument>%doctrine_phpcr.odm.namespaces.translation.alias%</argument>
</call>
</service>
<service id="doctrine_phpcr.odm.translation.strategy.child" class="%doctrine_phpcr.odm.translation.strategy.child.class%">
<argument />
</service>
</services>
</container>
Jump to Line
Something went wrong with that request. Please try again.