@@ 1349-1351 (lines=3) @@ | ||
1346 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1347 | $mapping['association'] = self::REFERENCE_MANY; |
|
1348 | } |
|
1349 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1350 | $mapping['association'] = self::EMBED_ONE; |
|
1351 | } |
|
1352 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1353 | $mapping['association'] = self::EMBED_MANY; |
|
1354 | } |
|
@@ 1352-1354 (lines=3) @@ | ||
1349 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1350 | $mapping['association'] = self::EMBED_ONE; |
|
1351 | } |
|
1352 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1353 | $mapping['association'] = self::EMBED_MANY; |
|
1354 | } |
|
1355 | ||
1356 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1357 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |