|
@@ 1187-1189 (lines=3) @@
|
| 1184 |
|
throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
| 1185 |
|
} |
| 1186 |
|
|
| 1187 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1188 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1189 |
|
} |
| 1190 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1191 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1192 |
|
} |
|
@@ 1190-1192 (lines=3) @@
|
| 1187 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
| 1188 |
|
$mapping['association'] = self::REFERENCE_ONE; |
| 1189 |
|
} |
| 1190 |
|
if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
| 1191 |
|
$mapping['association'] = self::REFERENCE_MANY; |
| 1192 |
|
} |
| 1193 |
|
if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
| 1194 |
|
$mapping['association'] = self::EMBED_ONE; |
| 1195 |
|
} |