|
@@ 1203-1205 (lines=3) @@
|
| 1200 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1201 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1202 |
|
} |
| 1203 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1204 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1205 |
|
} |
| 1206 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1207 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1208 |
|
} |
|
@@ 1206-1208 (lines=3) @@
|
| 1203 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1204 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1205 |
|
} |
| 1206 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1207 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1208 |
|
} |
| 1209 |
|
|
| 1210 |
|
if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
| 1211 |
|
$mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |