@@ 1377-1379 (lines=3) @@ | ||
1374 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1375 | $mapping['association'] = self::REFERENCE_MANY; |
|
1376 | } |
|
1377 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1378 | $mapping['association'] = self::EMBED_ONE; |
|
1379 | } |
|
1380 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1381 | $mapping['association'] = self::EMBED_MANY; |
|
1382 | } |
|
@@ 1380-1382 (lines=3) @@ | ||
1377 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1378 | $mapping['association'] = self::EMBED_ONE; |
|
1379 | } |
|
1380 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1381 | $mapping['association'] = self::EMBED_MANY; |
|
1382 | } |
|
1383 | ||
1384 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1385 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |