@@ 1348-1350 (lines=3) @@ | ||
1345 | throw MappingException::atomicCollectionStrategyNotAllowed($mapping['strategy'], $this->name, $mapping['fieldName']); |
|
1346 | } |
|
1347 | ||
1348 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1349 | $mapping['association'] = self::REFERENCE_ONE; |
|
1350 | } |
|
1351 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1352 | $mapping['association'] = self::REFERENCE_MANY; |
|
1353 | } |
|
@@ 1351-1353 (lines=3) @@ | ||
1348 | if (isset($mapping['reference']) && $mapping['type'] === 'one') { |
|
1349 | $mapping['association'] = self::REFERENCE_ONE; |
|
1350 | } |
|
1351 | if (isset($mapping['reference']) && $mapping['type'] === 'many') { |
|
1352 | $mapping['association'] = self::REFERENCE_MANY; |
|
1353 | } |
|
1354 | if (isset($mapping['embedded']) && $mapping['type'] === 'one') { |
|
1355 | $mapping['association'] = self::EMBED_ONE; |
|
1356 | } |