Merge branch 'DDC-1534'
This commit is contained in:
commit
022d27e4e9
@ -412,9 +412,6 @@ class YamlDriver extends AbstractFileDriver
|
|||||||
if (isset($manyToManyElement['mappedBy'])) {
|
if (isset($manyToManyElement['mappedBy'])) {
|
||||||
$mapping['mappedBy'] = $manyToManyElement['mappedBy'];
|
$mapping['mappedBy'] = $manyToManyElement['mappedBy'];
|
||||||
} else if (isset($manyToManyElement['joinTable'])) {
|
} else if (isset($manyToManyElement['joinTable'])) {
|
||||||
if (isset($manyToManyElement['inversedBy'])) {
|
|
||||||
$mapping['inversedBy'] = $manyToManyElement['inversedBy'];
|
|
||||||
}
|
|
||||||
|
|
||||||
$joinTableElement = $manyToManyElement['joinTable'];
|
$joinTableElement = $manyToManyElement['joinTable'];
|
||||||
$joinTable = array(
|
$joinTable = array(
|
||||||
@ -444,6 +441,10 @@ class YamlDriver extends AbstractFileDriver
|
|||||||
$mapping['joinTable'] = $joinTable;
|
$mapping['joinTable'] = $joinTable;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (isset($manyToManyElement['inversedBy'])) {
|
||||||
|
$mapping['inversedBy'] = $manyToManyElement['inversedBy'];
|
||||||
|
}
|
||||||
|
|
||||||
if (isset($manyToManyElement['cascade'])) {
|
if (isset($manyToManyElement['cascade'])) {
|
||||||
$mapping['cascade'] = $manyToManyElement['cascade'];
|
$mapping['cascade'] = $manyToManyElement['cascade'];
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user