Skip to content

Commit

Permalink
[DoctrineBundle] made the ORM configuration service private (there ar…
Browse files Browse the repository at this point in the history
…e accessible via the entity manager anyway)
  • Loading branch information
fabpot committed May 2, 2011
1 parent d0e31b8 commit 6b74483
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/Symfony/Bundle/DoctrineBundle/Resources/config/orm.xml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@

<!-- cache warmer -->
<parameter key="doctrine.orm.proxy_cache_warmer.class">Symfony\Bundle\DoctrineBundle\CacheWarmer\ProxyCacheWarmer</parameter>

<!-- form field factory guesser -->
<parameter key="form.type_guesser.doctrine.class">Symfony\Bridge\Doctrine\Form\DoctrineOrmTypeGuesser</parameter>
</parameters>
Expand All @@ -46,17 +46,17 @@
<tag name="kernel.cache_warmer" />
<argument type="service" id="service_container" />
</service>

<service id="form.type_guesser.doctrine" class="%form.type_guesser.doctrine.class%">
<tag name="form.type_guesser" />
<argument type="service" id="doctrine.orm.entity_manager" />
</service>

<service id="form.type.entity" class="Symfony\Bridge\Doctrine\Form\Type\EntityType">
<tag name="form.type" alias="entity" />
<argument type="service" id="doctrine.orm.entity_manager" />
</service>

<service id="doctrine.orm.configuration" class="%doctrine.orm.configuration.class%" abstract="true" />
<service id="doctrine.orm.configuration" class="%doctrine.orm.configuration.class%" abstract="true" public="false" />
</services>
</container>

0 comments on commit 6b74483

Please sign in to comment.