|
@@ 1404-1406 (lines=3) @@
|
| 1401 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1402 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1403 |
|
} |
| 1404 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1405 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1406 |
|
} |
| 1407 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1408 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1409 |
|
} |
|
@@ 1407-1409 (lines=3) @@
|
| 1404 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1405 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1406 |
|
} |
| 1407 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1408 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1409 |
|
} |
| 1410 |
|
|
| 1411 |
|
if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
| 1412 |
|
$mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |