@@ 1170-1172 (lines=3) @@ | ||
1167 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1168 | $mapping['association'] = self::REFERENCE_MANY; |
|
1169 | } |
|
1170 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1171 | $mapping['association'] = self::EMBED_ONE; |
|
1172 | } |
|
1173 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1174 | $mapping['association'] = self::EMBED_MANY; |
|
1175 | } |
|
@@ 1173-1175 (lines=3) @@ | ||
1170 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1171 | $mapping['association'] = self::EMBED_ONE; |
|
1172 | } |
|
1173 | if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
|
1174 | $mapping['association'] = self::EMBED_MANY; |
|
1175 | } |
|
1176 | ||
1177 | if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
|
1178 | $mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |