@@ 1230-1232 (lines=3) @@ | ||
1227 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1228 | $mapping['association'] = self::REFERENCE_MANY; |
|
1229 | } |
|
1230 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1231 | $mapping['association'] = self::EMBED_ONE; |
|
1232 | } |
|
1233 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1234 | $mapping['association'] = self::EMBED_MANY; |
|
1235 | } |
|
@@ 1233-1235 (lines=3) @@ | ||
1230 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1231 | $mapping['association'] = self::EMBED_ONE; |
|
1232 | } |
|
1233 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1234 | $mapping['association'] = self::EMBED_MANY; |
|
1235 | } |
|
1236 | ||
1237 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1238 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |