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