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:
parent
16740b9695
commit
8e7385ccc2
@ -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);
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user