|
@@ 1273-1275 (lines=3) @@
|
| 1270 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1271 |
|
} |
| 1272 |
|
|
| 1273 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1274 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1275 |
|
} |
| 1276 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1277 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1278 |
|
} |
|
@@ 1276-1278 (lines=3) @@
|
| 1273 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1274 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1275 |
|
} |
| 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 |
|
} |