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