1
0
mirror of synced 2024-12-05 03:06:05 +03:00

Merge pull request #1296 from joenivl/patch-1

Flip key value in $namespaces array
This commit is contained in:
Marco Pivetta 2015-02-03 14:48:44 +00:00
commit 78d3f51140

View File

@ -88,8 +88,8 @@ Configuration of this client works a little bit different:
<?php
$namespaces = array(
'MyProject\Entities' => '/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