Permalink
Browse files

Fixed xml config for proxy parameters

  • Loading branch information...
1 parent 90e39fb commit d1e7166ee9a43a9dd4da1059043b1958e45bd709 @hason committed Mar 29, 2012
@@ -98,6 +98,8 @@
<xsd:attribute name="default-entity-manager" type="xsd:string" />
<xsd:attribute name="default-connection" type="xsd:string" />
+ <xsd:attribute name="proxy-dir" type="xsd:string" />
+ <xsd:attribute name="proxy-namespace" type="xsd:string" />
<xsd:attribute name="auto-generate-proxy-classes" type="xsd:string" default="false" />
<xsd:attribute name="result-cache-driver" type="xsd:string" />
<xsd:attribute name="metadata-cache-driver" type="xsd:string" />
@@ -0,0 +1,12 @@
+<?xml version="1.0" ?>
+
+<srv:container xmlns="http://symfony.com/schema/dic/doctrine"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:srv="http://symfony.com/schema/dic/services"
+ xsi:schemaLocation="http://symfony.com/schema/dic/services http://symfony.com/schema/dic/services/services-1.0.xsd
+ http://symfony.com/schema/dic/doctrine http://symfony.com/schema/dic/doctrine/doctrine-1.0.xsd">
+
+ <config>
+ <orm proxy-dir="%kernel.cache_dir%/doctrine" proxy-namespace="DCProxy" />
+ </config>
+</srv:container>

0 comments on commit d1e7166

Please sign in to comment.