@@ 1322-1324 (lines=3) @@ | ||
1319 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1320 | } |
|
1321 | ||
1322 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1323 | $mapping['association'] = self::REFERENCE_ONE; |
|
1324 | } |
|
1325 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1326 | $mapping['association'] = self::REFERENCE_MANY; |
|
1327 | } |
|
@@ 1325-1327 (lines=3) @@ | ||
1322 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1323 | $mapping['association'] = self::REFERENCE_ONE; |
|
1324 | } |
|
1325 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1326 | $mapping['association'] = self::REFERENCE_MANY; |
|
1327 | } |
|
1328 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1329 | $mapping['association'] = self::EMBED_ONE; |
|
1330 | } |