Rajout de doctrine/orm
[zf2.biz/application_blanche.git] / vendor / doctrine / orm / tests / Doctrine / Tests / ORM / Mapping / yaml / Doctrine.Tests.ORM.Mapping.Animal.dcm.yml
diff --git a/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.ORM.Mapping.Animal.dcm.yml b/vendor/doctrine/orm/tests/Doctrine/Tests/ORM/Mapping/yaml/Doctrine.Tests.ORM.Mapping.Animal.dcm.yml
new file mode 100644 (file)
index 0000000..7bdad82
--- /dev/null
@@ -0,0 +1,17 @@
+Doctrine\Tests\ORM\Mapping\Animal:
+  type: entity
+  inheritanceType: SINGLE_TABLE
+  discriminatorMap:
+    cat: Cat
+    dog: Dog
+  discriminatorColumn:
+    type: string
+    name: discr
+    length: 32
+  id:
+    id:
+      type: integer
+      generator:
+        strategy: CUSTOM
+      customIdGenerator:
+        class: stdClass