@@ 1269-1271 (lines=3) @@ | ||
1266 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1267 | $mapping['association'] = self::REFERENCE_MANY; |
|
1268 | } |
|
1269 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1270 | $mapping['association'] = self::EMBED_ONE; |
|
1271 | } |
|
1272 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1273 | $mapping['association'] = self::EMBED_MANY; |
|
1274 | } |
|
@@ 1272-1274 (lines=3) @@ | ||
1269 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1270 | $mapping['association'] = self::EMBED_ONE; |
|
1271 | } |
|
1272 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1273 | $mapping['association'] = self::EMBED_MANY; |
|
1274 | } |
|
1275 | ||
1276 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1277 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |