XML Mapping =========== To use the XML driver you must configure the directory where XML mappings are located: .. code-block:: php setMappingDriverImpl($metadata); $config->setMetadataCache($cache); return new EntityManager($storage, $config); Example ------- .. code-block:: xml // App.Doctrine.KeyValueStore.User.dcm.xml id