|
@@ 1163-1165 (lines=3) @@
|
| 1160 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1161 |
|
} |
| 1162 |
|
|
| 1163 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1164 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1165 |
|
} |
| 1166 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1167 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1168 |
|
} |
|
@@ 1166-1168 (lines=3) @@
|
| 1163 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1164 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1165 |
|
} |
| 1166 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1167 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1168 |
|
} |
| 1169 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1170 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1171 |
|
} |