|
@@ 1391-1393 (lines=3) @@
|
| 1388 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1389 |
|
} |
| 1390 |
|
|
| 1391 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1392 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1393 |
|
} |
| 1394 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1395 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1396 |
|
} |
|
@@ 1394-1396 (lines=3) @@
|
| 1391 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1392 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1393 |
|
} |
| 1394 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1395 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1396 |
|
} |
| 1397 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1398 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1399 |
|
} |