From 8e7385ccc208fe1849b875e22a39f818691ecc51 Mon Sep 17 00:00:00 2001 From: Lars Olesen Date: Wed, 19 May 2010 21:49:14 +0800 Subject: [PATCH] Added the name space in front of Xmldriver, as it is not stated anywhere on this page which namespace is used. --- manual/en/xml-mapping.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/manual/en/xml-mapping.txt b/manual/en/xml-mapping.txt index 0db537be7..063b2cc89 100644 --- a/manual/en/xml-mapping.txt +++ b/manual/en/xml-mapping.txt @@ -27,7 +27,7 @@ It is recommended to put all XML mapping documents in a single folder but you ca [php] // $config instanceof Doctrine\ORM\Configuration - $driver = new XmlDriver(array('/path/to/files')); + $driver = new \Doctrine\ORM\Mapping\Driver\XmlDriver(array('/path/to/files')); $config->setMetadataDriverImpl($driver);