@@ 1341-1343 (lines=3) @@ | ||
1338 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1339 | $mapping['association'] = self::REFERENCE_MANY; |
|
1340 | } |
|
1341 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1342 | $mapping['association'] = self::EMBED_ONE; |
|
1343 | } |
|
1344 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1345 | $mapping['association'] = self::EMBED_MANY; |
|
1346 | } |
|
@@ 1344-1346 (lines=3) @@ | ||
1341 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1342 | $mapping['association'] = self::EMBED_ONE; |
|
1343 | } |
|
1344 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1345 | $mapping['association'] = self::EMBED_MANY; |
|
1346 | } |
|
1347 | ||
1348 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1349 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |