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