1
0
mirror of synced 2024-12-15 23:56:02 +03:00

Added the name space in front of Xmldriver, as it is not stated anywhere on this page which namespace is used.

This commit is contained in:
Lars Olesen 2010-05-19 21:49:14 +08:00 committed by Benjamin Eberlei
parent 16740b9695
commit 8e7385ccc2

View File

@ -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);