@@ 1184-1186 (lines=3) @@ | ||
1181 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1182 | $mapping['association'] = self::REFERENCE_MANY; |
|
1183 | } |
|
1184 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1185 | $mapping['association'] = self::EMBED_ONE; |
|
1186 | } |
|
1187 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1188 | $mapping['association'] = self::EMBED_MANY; |
|
1189 | } |
|
@@ 1187-1189 (lines=3) @@ | ||
1184 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1185 | $mapping['association'] = self::EMBED_ONE; |
|
1186 | } |
|
1187 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1188 | $mapping['association'] = self::EMBED_MANY; |
|
1189 | } |
|
1190 | ||
1191 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1192 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |