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