|
@@ 1355-1357 (lines=3) @@
|
| 1352 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1353 |
|
} |
| 1354 |
|
|
| 1355 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1356 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1357 |
|
} |
| 1358 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1359 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1360 |
|
} |
|
@@ 1358-1360 (lines=3) @@
|
| 1355 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1356 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1357 |
|
} |
| 1358 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1359 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1360 |
|
} |
| 1361 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1362 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1363 |
|
} |