Merge pull request #138 from fulopattila122/master
The yaml mapping part probably shows the path/Namespace key-value pair in the wrong order
This commit is contained in:
commit
4a01d2904c
@ -57,8 +57,8 @@ Configuration of this client works a little bit different:
|
|||||||
|
|
||||||
<?php
|
<?php
|
||||||
$namespaces = array(
|
$namespaces = array(
|
||||||
'MyProject\Entities' => '/path/to/files1',
|
'/path/to/files1' => 'MyProject\Entities',
|
||||||
'OtherProject\Entities' => '/path/to/files2'
|
'/path/to/files2' => 'OtherProject\Entities'
|
||||||
);
|
);
|
||||||
$driver = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver($namespaces);
|
$driver = new \Doctrine\ORM\Mapping\Driver\SimplifiedYamlDriver($namespaces);
|
||||||
$driver->setGlobalBasename('global'); // global.orm.yml
|
$driver->setGlobalBasename('global'); // global.orm.yml
|
||||||
|
Loading…
x
Reference in New Issue
Block a user