@@ 1383-1385 (lines=3) @@ | ||
1380 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1381 | $mapping['association'] = self::REFERENCE_MANY; |
|
1382 | } |
|
1383 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1384 | $mapping['association'] = self::EMBED_ONE; |
|
1385 | } |
|
1386 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1387 | $mapping['association'] = self::EMBED_MANY; |
|
1388 | } |
|
@@ 1386-1388 (lines=3) @@ | ||
1383 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1384 | $mapping['association'] = self::EMBED_ONE; |
|
1385 | } |
|
1386 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1387 | $mapping['association'] = self::EMBED_MANY; |
|
1388 | } |
|
1389 | ||
1390 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1391 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |