1
0
mirror of synced 2025-01-17 22:11:41 +03:00

joinTable can be undefined because ManyToMAny generation is bidirectional with inverse sides

This commit is contained in:
NicoB 2011-06-07 18:55:52 +07:00
parent a4cbb23fc8
commit 3cdb4e007d

View File

@ -181,7 +181,7 @@ class YamlExporter extends AbstractExporter
$manyToManyMappingArray = array(
'mappedBy' => $associationMapping['mappedBy'],
'inversedBy' => $associationMapping['inversedBy'],
'joinTable' => $associationMapping['joinTable'],
'joinTable' => isset($associationMapping['joinTable']) ? $associationMapping['joinTable'] : null,
'orderBy' => isset($associationMapping['orderBy']) ? $associationMapping['orderBy'] : null
);