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