Permalink
Browse files

Format README

  • Loading branch information...
1 parent 6fa0d35 commit 96fc2a20f538d3b2523c6bfb1855b1c2d5ed0404 @golovanov committed Jul 21, 2011
Showing with 36 additions and 1 deletion.
  1. +36 −1 README.md
View
@@ -60,4 +60,39 @@ The easiest way is to enable auto_mapping, which will activate the OXM across yo
xml_entity_managers:
default:
- auto_mapping: true
+ auto_mapping: true
+
+Full config:
+
+ doctrine_oxm:
+ proxy_namespace: Test_Proxies
+ auto_generate_proxy_classes: true
+ proxy_dir: "%kernel.cache_dir%/doctrine/oxm/Proxies"
+
+
+ default_xml_entity_manager: default_xem_name
+ default_storage: default_storage_name
+
+ storages:
+ storg1:
+ path: "%kernel.root_dir%/doctrine-oxm-storage/storg1"
+ storg2:
+ path: "%kernel.root_dir%/doctrine-oxm-storage/storg2"
+
+ xml_entity_managers:
+ xem1:
+ auto_mapping: false
+ mappings:
+ FooBundle: annotations
+ metadata_cache_driver: apc
+ xem2:
+ auto_mapping: false
+ storage: storg2
+ mappings:
+ BarBundle:
+ type: yml
+ dir: %kernel.cache_dir%
+ prefix: prefix_val
+ alias: alias_val
+ is_bundle: false
+ metadata_cache_driver: apc

0 comments on commit 96fc2a2

Please sign in to comment.