@@ 1271-1273 (lines=3) @@ | ||
1268 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1269 | } |
|
1270 | ||
1271 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1272 | $mapping['association'] = self::REFERENCE_ONE; |
|
1273 | } |
|
1274 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1275 | $mapping['association'] = self::REFERENCE_MANY; |
|
1276 | } |
|
@@ 1274-1276 (lines=3) @@ | ||
1271 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1272 | $mapping['association'] = self::REFERENCE_ONE; |
|
1273 | } |
|
1274 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1275 | $mapping['association'] = self::REFERENCE_MANY; |
|
1276 | } |
|
1277 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1278 | $mapping['association'] = self::EMBED_ONE; |
|
1279 | } |