|
@@ 1279-1281 (lines=3) @@
|
| 1276 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1277 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1278 |
|
} |
| 1279 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1280 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1281 |
|
} |
| 1282 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1283 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1284 |
|
} |
|
@@ 1282-1284 (lines=3) @@
|
| 1279 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1280 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1281 |
|
} |
| 1282 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1283 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1284 |
|
} |
| 1285 |
|
|
| 1286 |
|
if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
| 1287 |
|
$mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |