From f9cf2b6a95fb3ab316bfdf59f59725b879272633 Mon Sep 17 00:00:00 2001 From: Jeroen van Leeuwen Date: Tue, 3 Feb 2015 14:54:21 +0100 Subject: [PATCH] Flip key value in $namespaces array Key value should be other way around. --- docs/en/reference/xml-mapping.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/en/reference/xml-mapping.rst b/docs/en/reference/xml-mapping.rst index 93e531aa6..dbf97dc0a 100644 --- a/docs/en/reference/xml-mapping.rst +++ b/docs/en/reference/xml-mapping.rst @@ -88,8 +88,8 @@ Configuration of this client works a little bit different: '/path/to/files1', - 'OtherProject\Entities' => '/path/to/files2' + '/path/to/files1' => 'MyProject\Entities', + '/path/to/files2' => 'OtherProject\Entities' ); $driver = new \Doctrine\ORM\Mapping\Driver\SimplifiedXmlDriver($namespaces); $driver->setGlobalBasename('global'); // global.orm.xml