@@ 1427-1429 (lines=3) @@ | ||
1424 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1425 | $mapping['association'] = self::REFERENCE_MANY; |
|
1426 | } |
|
1427 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1428 | $mapping['association'] = self::EMBED_ONE; |
|
1429 | } |
|
1430 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1431 | $mapping['association'] = self::EMBED_MANY; |
|
1432 | } |
|
@@ 1430-1432 (lines=3) @@ | ||
1427 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1428 | $mapping['association'] = self::EMBED_ONE; |
|
1429 | } |
|
1430 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1431 | $mapping['association'] = self::EMBED_MANY; |
|
1432 | } |
|
1433 | ||
1434 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1435 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |