|
@@ 1374-1376 (lines=3) @@
|
| 1371 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1372 |
|
} |
| 1373 |
|
|
| 1374 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1375 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1376 |
|
} |
| 1377 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1378 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1379 |
|
} |
|
@@ 1377-1379 (lines=3) @@
|
| 1374 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1375 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1376 |
|
} |
| 1377 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1378 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1379 |
|
} |
| 1380 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1381 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1382 |
|
} |