Merge pull request #1296 from joenivl/patch-1
Flip key value in $namespaces array
This commit is contained in:
commit
78d3f51140
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user