|
@@ 1223-1225 (lines=3) @@
|
| 1220 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1221 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1222 |
|
} |
| 1223 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1224 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1225 |
|
} |
| 1226 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1227 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1228 |
|
} |
|
@@ 1226-1228 (lines=3) @@
|
| 1223 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1224 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1225 |
|
} |
| 1226 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'many') { |
| 1227 |
|
$mapping['association'] = self::EMBED_MANY; |
| 1228 |
|
} |
| 1229 |
|
|
| 1230 |
|
if (isset($mapping['association']) && ! isset($mapping['targetDocument']) && ! isset($mapping['discriminatorField'])) { |
| 1231 |
|
$mapping['discriminatorField'] = self::DEFAULT_DISCRIMINATOR_FIELD; |