Ver Fonte

[DoctrineBundle] updated XSD based on a visual audit

Kris Wallsmith há 15 anos atrás
pai
commit
12a09f5cb5

+ 25 - 0
src/Symfony/Framework/DoctrineBundle/Resources/config/schema/dic/doctrine/doctrine-1.0.xsd

@@ -39,5 +39,30 @@
     <xsd:attribute name="driver" type="xsd:string" />
     <xsd:attribute name="options" type="xsd:string" />
     <xsd:attribute name="path" type="xsd:string" />
+    <xsd:attribute name="configuration_class" type="xsd:string" />
+    <xsd:attribute name="event_manager_class" type="xsd:string" />
+    <xsd:attribute name="wrapper_class" type="xsd:string" />
+  </xsd:complexType>
+
+  <xsd:element name="orm" type="orm" />
+
+  <xsd:complexType name="orm">
+    <xsd:sequence>
+      <xsd:element name="entity_managers" type="entity_managers" minOccurs="0" maxOccurs="1" />
+    </xsd:sequence>
+
+    <xsd:attribute name="default_entity_manager" type="xsd:string" />
+    <xsd:attribute name="metadata_driver" type="xsd:string" />
+    <xsd:attribute name="cache_driver" type="xsd:string" />
+  </xsd:complexType>
+
+  <xsd:complexType name="entity_managers">
+    <xsd:sequence>
+      <xsd:element name="entity_manager" type="entity_manager" minOccurs="1" maxOccurs="unbounded" />
+    </xsd:sequence>
+  </xsd:complexType>
+
+  <xsd:complexType name="entity_manager">
+    <xsd:attribute name="connection" type="xsd:string" />
   </xsd:complexType>
 </xsd:schema>