|
@@ 1330-1332 (lines=3) @@
|
| 1327 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1328 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1329 |
|
} |
| 1330 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1331 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1332 |
|
} |
| 1333 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1334 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1335 |
|
} |
|
@@ 1333-1335 (lines=3) @@
|
| 1330 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1331 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1332 |
|
} |
| 1333 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1334 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1335 |
|
} |
| 1336 |
|
|
| 1337 |
|
if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
| 1338 |
|
$mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |