@@ 1291-1293 (lines=3) @@ | ||
1288 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1289 | } |
|
1290 | ||
1291 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1292 | $mapping['association'] = self::REFERENCE_ONE; |
|
1293 | } |
|
1294 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1295 | $mapping['association'] = self::REFERENCE_MANY; |
|
1296 | } |
|
@@ 1294-1296 (lines=3) @@ | ||
1291 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1292 | $mapping['association'] = self::REFERENCE_ONE; |
|
1293 | } |
|
1294 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1295 | $mapping['association'] = self::REFERENCE_MANY; |
|
1296 | } |
|
1297 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1298 | $mapping['association'] = self::EMBED_ONE; |
|
1299 | } |