@@ 1277-1279 (lines=3) @@ | ||
1274 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1275 | $mapping['association'] = self::REFERENCE_MANY; |
|
1276 | } |
|
1277 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1278 | $mapping['association'] = self::EMBED_ONE; |
|
1279 | } |
|
1280 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1281 | $mapping['association'] = self::EMBED_MANY; |
|
1282 | } |
|
@@ 1280-1282 (lines=3) @@ | ||
1277 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1278 | $mapping['association'] = self::EMBED_ONE; |
|
1279 | } |
|
1280 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1281 | $mapping['association'] = self::EMBED_MANY; |
|
1282 | } |
|
1283 | ||
1284 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1285 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |