@@ 1315-1317 (lines=3) @@ | ||
1312 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1313 | $mapping['association'] = self::REFERENCE_MANY; |
|
1314 | } |
|
1315 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1316 | $mapping['association'] = self::EMBED_ONE; |
|
1317 | } |
|
1318 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1319 | $mapping['association'] = self::EMBED_MANY; |
|
1320 | } |
|
@@ 1318-1320 (lines=3) @@ | ||
1315 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1316 | $mapping['association'] = self::EMBED_ONE; |
|
1317 | } |
|
1318 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1319 | $mapping['association'] = self::EMBED_MANY; |
|
1320 | } |
|
1321 | ||
1322 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1323 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |