@@ 1328-1330 (lines=3) @@ | ||
1325 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1326 | $mapping['association'] = self::REFERENCE_MANY; |
|
1327 | } |
|
1328 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1329 | $mapping['association'] = self::EMBED_ONE; |
|
1330 | } |
|
1331 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1332 | $mapping['association'] = self::EMBED_MANY; |
|
1333 | } |
|
@@ 1331-1333 (lines=3) @@ | ||
1328 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1329 | $mapping['association'] = self::EMBED_ONE; |
|
1330 | } |
|
1331 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1332 | $mapping['association'] = self::EMBED_MANY; |
|
1333 | } |
|
1334 | ||
1335 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1336 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |