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