@@ 1443-1445 (lines=3) @@ | ||
1440 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1441 | $mapping['association'] = self::REFERENCE_MANY; |
|
1442 | } |
|
1443 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1444 | $mapping['association'] = self::EMBED_ONE; |
|
1445 | } |
|
1446 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1447 | $mapping['association'] = self::EMBED_MANY; |
|
1448 | } |
|
@@ 1446-1448 (lines=3) @@ | ||
1443 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1444 | $mapping['association'] = self::EMBED_ONE; |
|
1445 | } |
|
1446 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1447 | $mapping['association'] = self::EMBED_MANY; |
|
1448 | } |
|
1449 | ||
1450 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1451 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |