@@ 1354-1356 (lines=3) @@ | ||
1351 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1352 | $mapping['association'] = self::REFERENCE_MANY; |
|
1353 | } |
|
1354 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1355 | $mapping['association'] = self::EMBED_ONE; |
|
1356 | } |
|
1357 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1358 | $mapping['association'] = self::EMBED_MANY; |
|
1359 | } |
|
@@ 1357-1359 (lines=3) @@ | ||
1354 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1355 | $mapping['association'] = self::EMBED_ONE; |
|
1356 | } |
|
1357 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1358 | $mapping['association'] = self::EMBED_MANY; |
|
1359 | } |
|
1360 | ||
1361 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1362 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |