|
@@ 1397-1399 (lines=3) @@
|
| 1394 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1395 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1396 |
|
} |
| 1397 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1398 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1399 |
|
} |
| 1400 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1401 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1402 |
|
} |
|
@@ 1400-1402 (lines=3) @@
|
| 1397 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1398 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1399 |
|
} |
| 1400 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1401 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1402 |
|
} |
| 1403 |
|
|
| 1404 |
|
if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
| 1405 |
|
$mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |