@@ 1361-1363 (lines=3) @@ | ||
1358 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1359 | $mapping['association'] = self::REFERENCE_MANY; |
|
1360 | } |
|
1361 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1362 | $mapping['association'] = self::EMBED_ONE; |
|
1363 | } |
|
1364 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1365 | $mapping['association'] = self::EMBED_MANY; |
|
1366 | } |
|
@@ 1364-1366 (lines=3) @@ | ||
1361 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1362 | $mapping['association'] = self::EMBED_ONE; |
|
1363 | } |
|
1364 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1365 | $mapping['association'] = self::EMBED_MANY; |
|
1366 | } |
|
1367 | ||
1368 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1369 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |