@@ 1191-1193 (lines=3) @@ | ||
1188 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1189 | $mapping['association'] = self::REFERENCE_MANY; |
|
1190 | } |
|
1191 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1192 | $mapping['association'] = self::EMBED_ONE; |
|
1193 | } |
|
1194 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1195 | $mapping['association'] = self::EMBED_MANY; |
|
1196 | } |
|
@@ 1194-1196 (lines=3) @@ | ||
1191 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1192 | $mapping['association'] = self::EMBED_ONE; |
|
1193 | } |
|
1194 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1195 | $mapping['association'] = self::EMBED_MANY; |
|
1196 | } |
|
1197 | ||
1198 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1199 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |